1 | <?php |
||
19 | class Rule extends Model |
||
20 | { |
||
21 | use AuthManagerAwareTrait; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | public $name; |
||
27 | /** |
||
28 | * @var string fully qualified class name. Not to be confused with className() method |
||
29 | */ |
||
30 | public $className; |
||
31 | /** |
||
32 | * @var string holds the name of the rule previous update |
||
33 | */ |
||
34 | public $previousName; |
||
35 | |||
36 | /** |
||
37 | * @inheritdoc |
||
38 | */ |
||
39 | public function scenarios() |
||
46 | |||
47 | /** |
||
48 | * @inheritdoc |
||
49 | */ |
||
50 | public function rules() |
||
60 | } |
||
61 |