| 1 | <?php |
||
| 23 | abstract class BaseRedisBlameableModel extends BaseRedisEntityModel |
||
| 24 | { |
||
| 25 | use BlameableTrait; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Initialize the blameable model. |
||
| 29 | * If query class is not specified, [[BaseBlameableQuery]] will be taken. |
||
| 30 | */ |
||
| 31 | 6 | public function init() |
|
| 42 | |||
| 43 | /** |
||
| 44 | * Get the query class with specified identity. |
||
| 45 | * @param BaseUserModel $identity |
||
| 46 | * @return BaseRedisBlameableQuery |
||
| 47 | */ |
||
| 48 | 1 | public static function findByIdentity($identity = null) |
|
| 52 | } |
||
| 53 |