web\CompositeUrlRule $rules

$rules protected property The URL rules contained in this composite rule. This property is set in init() by the return value of createRules(). protected yii\web\UrlRuleInterface[] $rules = []

web\CompositeUrlRule createRules()

createRules() protected abstract method Creates the URL rules that should be contained within this composite rule. protected abstract yii\web\UrlRuleInterface[] createRules ( )return yii\web\UrlRuleInterface[] The URL rules

web\CacheSession init()

init() public method Initializes the application component. public void init ( )

web\CacheSession destroySession()

destroySession() public method Session destroy handler. Do not call this method directly. public boolean destroySession ( $id )$id string Session ID return boolean Whether session is destroyed successfully

web\CacheSession calculateKey()

calculateKey() protected method Generates a unique key used for storing session data in cache. protected mixed calculateKey ( $id )$id string Session variable name return mixed A safe cache key associated with the session variable name

web\CacheSession getUseCustomStorage()

getUseCustomStorage() public method Returns a value indicating whether to use custom session storage. This method overrides the parent implementation and always returns true. public boolean getUseCustomStorage ( )return boolean Whether to use custom storage.

web\CacheSession $cache

$cache public property The cache object or the application component ID of the cache object. The session data will be stored using this cache object. After the CacheSession object is created, if you want to change this property, you should only assign it with a cache object. Starting from version 2.0.2, this can also be a configuration array for creating the object. public yii\caching\Cache|array|string $cache = 'cache'

web\BadRequestHttpException __construct()

__construct() public method Constructor. public void __construct ( $message = null, $code = 0, Exception $previous = null )$message string Error message $code integer Error code $previous Exception The previous exception used for the exception chaining.

web\CacheSession $useCustomStorage

$useCustomStorage public read-only property Whether to use custom storage. public boolean getUseCustomStorage ( )

web\AssetManager setConverter()

setConverter() public method Sets the asset converter. public void setConverter ( $value )$value array|yii\web\AssetConverterInterface The asset converter. This can be either an object implementing the yii\web\AssetConverterInterface, or a configuration array that can be used to create the asset converter object.