caching\MemCache $memcache

$memcache public read-only property The memcache (or memcached) object used by this cache component. public \Memcache|\Memcached getMemcache ( )

di\ServiceLocator set()

set() public method Registers a component definition with this locator. For example, // a class name $locator->set('cache', 'yii\caching\FileCache'); // a configuration array $locator->set('db', [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=127.0.0.1;dbname=demo', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ]); // an anonymous function $locator->set('cache', function ($params) { return new \yii\caching\FileCache; })

helpers\BaseUrl to()

to() public static method Creates a URL based on the given parameters. This method is very similar to toRoute(). The only difference is that this method requires a route to be specified as an array only. If a string is given, it will be treated as a URL. In particular, if $url is an array: toRoute() will be called to generate the URL. For example: ['site/index'], ['post/index', 'page' => 2]. Please refer to toRoute() for more details on how to specify a route. a string with a leading @:

console\Application $errorHandler

$errorHandler public read-only property The error handler application component. public yii\console\ErrorHandler getErrorHandler ( )

db\Command createIndex()

createIndex() public method Creates a SQL command for creating a new index. public $this createIndex ( $name, $table, $columns, $unique = false )$name string The name of the index. The name will be properly quoted by the method. $table string The table that the new index will be created for. The table name will be properly quoted by the method. $columns string|array The column(s) that should be included in the index. If there are multiple columns, please separate them by commas. Th

filters\auth\AuthMethod $user

$user public property The user object representing the user authentication status. If not set, the user application component will be used. public yii\web\User $user = null

db\pgsql\Schema $defaultSchema

$defaultSchema public property The default schema used for the current session. public string $defaultSchema = 'public'

elasticsearch\Connection put()

put() public method Performs PUT HTTP request public mixed put ( $url, $options = [], $body = null, $raw = false )$url string|array URL $options array URL options $body string Request body $raw boolean If response body contains JSON and should be decoded return mixed Response throws yii\elasticsearch\Exception throws yii\base\InvalidConfigException

db\Query batch()

batch() public method Starts a batch query. A batch query supports fetching data in batches, which can keep the memory usage under a limit. This method will return a yii\db\BatchQueryResult object which implements the Iterator interface and can be traversed to retrieve the data in batches. For example, $query = (new Query)->from('user'); foreach ($query->batch() as $rows) { // $rows is an array of 100 or fewer rows from user table } public yii\db\BatchQueryResult batch ( $batch

elasticsearch\DebugAction $controller

$controller public property public yii\debug\controllers\DefaultController $controller = null