redis\Session writeSession()

writeSession() public method Session write handler. Do not call this method directly. public boolean writeSession ( $id, $data )$id string Session ID $data string Session data return boolean Whether session write is successful

db\QueryBuilder buildFrom()

buildFrom() public method public string buildFrom ( $tables, &$params )$tables array $params array The binding parameters to be populated return string The FROM clause built from yii\db\Query::$from.

mail\MessageInterface toString()

toString() public abstract method Returns string representation of this message. public abstract string toString ( )return string The string representation of this message.

console\controllers\MigrateController optionAliases()

optionAliases() public method (available since version 2.0.8) Returns option alias names. Child classes may override this method to specify alias options. public array optionAliases ( )return array The options alias names valid for the action where the keys is alias name for option and value is option name.

mail\MessageInterface setReplyTo()

setReplyTo() public abstract method Sets the reply-to address of this message. public abstract $this setReplyTo ( $replyTo )$replyTo string|array The reply-to address. You may pass an array of addresses if this message should be replied to multiple people. You may also specify reply-to name in addition to email address using format: [email => name]. return $this Self reference.

console\controllers\MessageController getLine()

getLine() protected method (available since version 2.0.1) Finds out a line of the first non-char PHP token found protected integer|string getLine ( $tokens )$tokens array

console\controllers\ServeController optionAliases()

optionAliases() public method (available since version 2.0.8) Returns option alias names. Child classes may override this method to specify alias options. public array optionAliases ( )return array The options alias names valid for the action where the keys is alias name for option and value is option name.

console\controllers\AssetController actionTemplate()

actionTemplate() public method Creates template of configuration file for actionCompress(). public integer actionTemplate ( $configFile )$configFile string Output file name. return integer CLI exit code throws yii\console\Exception on failure.

elasticsearch\ElasticsearchTarget init()

init() public method This method will initialize the \yii\elasticsearch\elasticsearch property to make sure it refers to a valid Elasticsearch connection. public void init ( )throws yii\base\InvalidConfigException if \yii\elasticsearch\elasticsearch is invalid.

console\controllers\AssetController registerBundle()

registerBundle() protected method Registers asset bundles including their dependencies. protected void registerBundle ( $bundles, $name, &$registered )$bundles yii\web\AssetBundle[] Asset bundles list. $name string Bundle name. $registered array Stores already registered names. throws yii\console\Exception if circular dependency is detected.