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