1 | <?php |
||
23 | class TokenEnvironment extends ActiveRecord |
||
24 | { |
||
25 | use traits\EnvironmentAttribute; |
||
26 | |||
27 | /** |
||
28 | * The table alias |
||
29 | */ |
||
30 | const TABLE_ALIAS = 'patron_token_environments'; |
||
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | */ |
||
35 | public function rules() |
||
66 | |||
67 | /** |
||
68 | * Get the associated token |
||
69 | * |
||
70 | * @param array $config |
||
71 | * @return ActiveQueryInterface |
||
72 | */ |
||
73 | public function getProvider(array $config = []) |
||
89 | } |
||
90 |