Trait yii\base\StaticInstanceTrait
Implemented by | yii\base\DynamicModel, yii\base\Model, yii\data\ActiveDataFilter, yii\data\DataFilter, yii\db\ActiveRecord, yii\db\BaseActiveRecord |
---|---|
Available since version | 2.0.13 |
Source Code | https://github.com/yiisoft/yii2/blob/master/framework/base/StaticInstanceTrait.php |
StaticInstanceTrait provides methods to satisfy yii\base\StaticInstanceInterface interface.
See also yii\base\StaticInstanceInterface.
Public Methods
Method | Description | Defined By |
---|---|---|
instance() | Returns static class instance, which can be used to obtain meta information. | yii\base\StaticInstanceTrait |
Signup or Login in order to comment.