Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Commit

Permalink
Update facades for Yii 2.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeymakinen committed Jun 12, 2017
1 parent 7f12b42 commit a5dde25
Show file tree
Hide file tree
Showing 19 changed files with 139 additions and 107 deletions.
154 changes: 81 additions & 73 deletions composer.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down
2 changes: 1 addition & 1 deletion src/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down
4 changes: 2 additions & 2 deletions src/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down Expand Up @@ -56,7 +56,7 @@
* @method static \yii\base\Behavior[] getBehaviors() Returns all behaviors attached to this component.
* @see \yii\base\Component::getBehaviors
*
* @method static mixed getOrSet(mixed $key, \Closure $closure, int $duration = null, \yii\caching\Dependency $dependency = null) Method combines both [[set()]] and [[get()]] methods to retrieve value identified by a $key, or to store the result of $closure execution if there is no cache available for the $key.
* @method static mixed getOrSet(mixed $key, callable|\Closure $callable, int $duration = null, \yii\caching\Dependency $dependency = null) Method combines both [[set()]] and [[get()]] methods to retrieve value identified by a $key, or to store the result of $callable execution if there is no cache available for the $key.
* @see \yii\caching\Cache::getOrSet
*
* @method static bool hasEventHandlers(string $name) Returns a value indicating whether there is any handler attached to the named event.
Expand Down
14 changes: 13 additions & 1 deletion src/Db.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down Expand Up @@ -145,6 +145,12 @@
* @method static bool getEmulatePrepare() Returns whether to turn on prepare emulation.
* @see \yii\db\Connection::emulatePrepare
*
* @method static bool getEnableLogging() Returns whether to enable logging of database queries.
* @see \yii\db\Connection::enableLogging
*
* @method static bool getEnableProfiling() Returns whether to enable profiling of database queries.
* @see \yii\db\Connection::enableProfiling
*
* @method static bool getEnableQueryCache() Returns whether to enable query caching.
* @see \yii\db\Connection::enableQueryCache
*
Expand Down Expand Up @@ -226,6 +232,12 @@
* @method static void setEmulatePrepare(bool $value) Sets whether to turn on prepare emulation.
* @see \yii\db\Connection::emulatePrepare
*
* @method static void setEnableLogging(bool $value) Sets whether to enable logging of database queries.
* @see \yii\db\Connection::enableLogging
*
* @method static void setEnableProfiling(bool $value) Sets whether to enable profiling of database queries.
* @see \yii\db\Connection::enableProfiling
*
* @method static void setEnableQueryCache(bool $value) Sets whether to enable query caching.
* @see \yii\db\Connection::enableQueryCache
*
Expand Down
11 changes: 7 additions & 4 deletions src/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down Expand Up @@ -38,7 +38,7 @@
* @method static void convertExceptionToError(\Exception $exception) Converts an exception into a PHP error.
* @see \yii\base\ErrorHandler::convertExceptionToError
*
* @method static string convertExceptionToString(\Exception $exception) Converts an exception into a simple string.
* @method static string convertExceptionToString(\Exception|\Error $exception) Converts an exception into a simple string.
* @see \yii\base\ErrorHandler::convertExceptionToString
*
* @method static string createFrameworkVersionLink() Creates string containing HTML link which refers to the page with the current version of the framework and version number text.
Expand Down Expand Up @@ -101,6 +101,9 @@
* @method static void register() Register this error handler.
* @see \yii\base\ErrorHandler::register
*
* @method static string renderCallStack(\Exception|\ParseError $exception) Renders call stack.
* @see \yii\web\ErrorHandler::renderCallStack
*
* @method static string renderCallStackItem(string|null $file, int|null $line, string|null $class, string|null $method, array $args, int $index) Renders a single call stack element.
* @see \yii\web\ErrorHandler::renderCallStackItem
*
Expand Down Expand Up @@ -136,7 +139,7 @@
* @method static string getErrorView() Returns the path of the view file for rendering exceptions without call stack information.
* @see \yii\web\ErrorHandler::errorView
*
* @method static \Exception getException() Returns the exception that is being handled currently.
* @method static \Exception|null getException() Returns the exception that is being handled currently.
* @see \yii\base\ErrorHandler::exception
*
* @method static string getExceptionView() Returns the path of the view file for rendering exceptions.
Expand Down Expand Up @@ -169,7 +172,7 @@
* @method static void setErrorView(string $value) Sets the path of the view file for rendering exceptions without call stack information.
* @see \yii\web\ErrorHandler::errorView
*
* @method static void setException(\Exception $value) Sets the exception that is being handled currently.
* @method static void setException(\Exception|null $value) Sets the exception that is being handled currently.
* @see \yii\base\ErrorHandler::exception
*
* @method static void setExceptionView(string $value) Sets the path of the view file for rendering exceptions.
Expand Down
14 changes: 7 additions & 7 deletions src/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down Expand Up @@ -157,13 +157,13 @@
* @method static string getNullDisplay() Returns the text to be displayed when formatting a `null` value.
* @see \yii\i18n\Formatter::nullDisplay
*
* @method static array getNumberFormatterOptions() Returns a list of name value pairs that are passed to the intl [Numberformatter::setAttribute()](http://php.net/manual/en/numberformatter.setattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @method static array getNumberFormatterOptions() Returns a list of name value pairs that are passed to the intl [NumberFormatter::setAttribute()](http://php.net/manual/en/numberformatter.setattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @see \yii\i18n\Formatter::numberFormatterOptions
*
* @method static array getNumberFormatterSymbols() Returns a list of name value pairs that are passed to the intl [Numberformatter::setSymbol()](http://php.net/manual/en/numberformatter.setsymbol.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @method static array getNumberFormatterSymbols() Returns a list of name value pairs that are passed to the intl [NumberFormatter::setSymbol()](http://php.net/manual/en/numberformatter.setsymbol.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @see \yii\i18n\Formatter::numberFormatterSymbols
*
* @method static array getNumberFormatterTextOptions() Returns a list of name value pairs that are passed to the intl [Numberformatter::setTextAttribute()](http://php.net/manual/en/numberformatter.settextattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @method static array getNumberFormatterTextOptions() Returns a list of name value pairs that are passed to the intl [NumberFormatter::setTextAttribute()](http://php.net/manual/en/numberformatter.settextattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @see \yii\i18n\Formatter::numberFormatterTextOptions
*
* @method static int getSizeFormatBase() Returns the base at which a kilobyte is calculated (1000 or 1024 bytes per kilobyte), used by [[asSize]] and [[asShortSize]].
Expand Down Expand Up @@ -205,13 +205,13 @@
* @method static void setNullDisplay(string $value) Sets the text to be displayed when formatting a `null` value.
* @see \yii\i18n\Formatter::nullDisplay
*
* @method static void setNumberFormatterOptions(array $value) Sets a list of name value pairs that are passed to the intl [Numberformatter::setAttribute()](http://php.net/manual/en/numberformatter.setattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @method static void setNumberFormatterOptions(array $value) Sets a list of name value pairs that are passed to the intl [NumberFormatter::setAttribute()](http://php.net/manual/en/numberformatter.setattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @see \yii\i18n\Formatter::numberFormatterOptions
*
* @method static void setNumberFormatterSymbols(array $value) Sets a list of name value pairs that are passed to the intl [Numberformatter::setSymbol()](http://php.net/manual/en/numberformatter.setsymbol.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @method static void setNumberFormatterSymbols(array $value) Sets a list of name value pairs that are passed to the intl [NumberFormatter::setSymbol()](http://php.net/manual/en/numberformatter.setsymbol.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @see \yii\i18n\Formatter::numberFormatterSymbols
*
* @method static void setNumberFormatterTextOptions(array $value) Sets a list of name value pairs that are passed to the intl [Numberformatter::setTextAttribute()](http://php.net/manual/en/numberformatter.settextattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @method static void setNumberFormatterTextOptions(array $value) Sets a list of name value pairs that are passed to the intl [NumberFormatter::setTextAttribute()](http://php.net/manual/en/numberformatter.settextattribute.php) method of all the number formatter objects created by [[createNumberFormatter()]].
* @see \yii\i18n\Formatter::numberFormatterTextOptions
*
* @method static void setSizeFormatBase(int $value) Sets the base at which a kilobyte is calculated (1000 or 1024 bytes per kilobyte), used by [[asSize]] and [[asShortSize]].
Expand Down
2 changes: 1 addition & 1 deletion src/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down
2 changes: 1 addition & 1 deletion src/I18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down
2 changes: 1 addition & 1 deletion src/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down
2 changes: 1 addition & 1 deletion src/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down
6 changes: 3 additions & 3 deletions src/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down Expand Up @@ -91,7 +91,7 @@
* @method static int getPort() Returns the port to use for connecting to the redis server.
* @see \yii\redis\Connection::port
*
* @method static array getRedisCommands() Returns List of available redis commands http://redis.
* @method static array getRedisCommands() Returns List of available redis commands.
* @see \yii\redis\Connection::redisCommands
*
* @method static int getSocketClientFlags() Returns Bitmask field which may be set to any combination of connection flags passed to [stream_socket_client()](http://php.net/manual/en/function.stream-socket-client.php).
Expand All @@ -118,7 +118,7 @@
* @method static void setPort(int $value) Sets the port to use for connecting to the redis server.
* @see \yii\redis\Connection::port
*
* @method static void setRedisCommands(array $value) Sets List of available redis commands http://redis.
* @method static void setRedisCommands(array $value) Sets List of available redis commands.
* @see \yii\redis\Connection::redisCommands
*
* @method static void setSocketClientFlags(int $value) Sets Bitmask field which may be set to any combination of connection flags passed to [stream_socket_client()](http://php.net/manual/en/function.stream-socket-client.php).
Expand Down
4 changes: 2 additions & 2 deletions src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down Expand Up @@ -251,7 +251,7 @@
* @method static void trigger(string $name, \yii\base\Event $event = null) Triggers an event.
* @see \yii\base\Component::trigger
*
* @method static bool validateCsrfToken(string $token = null) Performs the CSRF validation.
* @method static bool validateCsrfToken(string $clientSuppliedToken = null) Performs the CSRF validation.
* @see \yii\web\Request::validateCsrfToken
*
* Property accessors
Expand Down
7 changes: 5 additions & 2 deletions src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down Expand Up @@ -116,9 +116,12 @@
* @method static \yii\web\Response setDownloadHeaders(string $attachmentName, string $mimeType = null, bool $inline = false, int $contentLength = null) Sets a default set of HTTP headers for file downloading purpose.
* @see \yii\web\Response::setDownloadHeaders
*
* @method static void setStatusCode(int $value, string $text = null) Sets the response status code.
* @method static \yii\web\Response setStatusCode(int $value, string $text = null) Sets the response status code.
* @see \yii\web\Response::setStatusCode
*
* @method static \yii\web\Response setStatusCodeByException(\Exception|\Error $e) Sets the response status code based on the exception.
* @see \yii\web\Response::setStatusCodeByException
*
* @method static void trigger(string $name, \yii\base\Event $event = null) Triggers an event.
* @see \yii\base\Component::trigger
*
Expand Down
2 changes: 1 addition & 1 deletion src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down
10 changes: 8 additions & 2 deletions src/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down Expand Up @@ -74,6 +74,9 @@
* @method static string hkdf(string $algo, string $inputKey, string $salt = null, string $info = null, int $length = 0) Derives a key from the given input key using the standard HKDF algorithm.
* @see \yii\base\Security::hkdf
*
* @method static string maskToken(string $token) Masks a token to make it uncompressible.
* @see \yii\base\Security::maskToken
*
* @method static bool off(string $name, callable $handler = null) Detaches an existing event handler from this component.
* @see \yii\base\Component::off
*
Expand All @@ -86,7 +89,10 @@
* @method static void trigger(string $name, \yii\base\Event $event = null) Triggers an event.
* @see \yii\base\Component::trigger
*
* @method static string validateData(string $data, string $key, bool $rawHash = false) Validates if the given data is tampered.
* @method static string unmaskToken(string $maskedToken) Unmasks a token previously masked by `maskToken`.
* @see \yii\base\Security::unmaskToken
*
* @method static string|bool validateData(string $data, string $key, bool $rawHash = false) Validates if the given data is tampered.
* @see \yii\base\Security::validateData
*
* @method static bool validatePassword(string $password, string $hash) Verifies a password against a hash.
Expand Down
4 changes: 2 additions & 2 deletions src/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down Expand Up @@ -131,7 +131,7 @@
* @method static string readSession(string $id) Session read handler.
* @see \yii\web\Session::readSession
*
* @method static void regenerateID(bool $deleteOldSession = false) Updates the current session ID with a newly generated one .
* @method static void regenerateID(bool $deleteOldSession = false) Updates the current session ID with a newly generated one.
* @see \yii\web\Session::regenerateID
*
* @method static mixed remove(string $key) Removes a session variable.
Expand Down
2 changes: 1 addition & 1 deletion src/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down
2 changes: 1 addition & 1 deletion src/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Facades for Yii 2
*
* Generated on Yii 2.0.11.2
* Generated on Yii 2.0.12
*
* @see https://github.com/sergeymakinen/yii2-facades
* @copyright Copyright (c) 2016-2017 Sergey Makinen (https://makinen.ru)
Expand Down

0 comments on commit a5dde25

Please sign in to comment.