| 1 | <?php |
||
| 24 | abstract class BaseMongoEntityModel extends \yii\mongodb\ActiveRecord |
||
| 25 | { |
||
| 26 | use EntityTrait; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Initialize new entity. |
||
| 30 | */ |
||
| 31 | 1 | public function init() |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @inheritdoc |
||
| 43 | * @return \vistart\Models\queries\BaseMongoEntityQuery the newly created [[BaseEntityQuery]] or its sub-class instance. |
||
| 44 | */ |
||
| 45 | 1 | public static function find() |
|
| 54 | |||
| 55 | 1 | public function attributes() |
|
| 59 | } |
||
| 60 |