@@ 22-30 (lines=9) @@ | ||
19 | /** |
|
20 | * {@inheritdoc} |
|
21 | */ |
|
22 | public function rules() |
|
23 | { |
|
24 | return [ |
|
25 | ['id', 'integer'], |
|
26 | ['username', 'string'], |
|
27 | ['state', 'string'], |
|
28 | ['roles', 'trim'], |
|
29 | ]; |
|
30 | } |
|
31 | ||
32 | /** {@inheritdoc} */ |
|
33 | public static function findIdentity($id) |
@@ 22-30 (lines=9) @@ | ||
19 | /** |
|
20 | * {@inheritdoc} |
|
21 | */ |
|
22 | public function rules() |
|
23 | { |
|
24 | return [ |
|
25 | ['id', 'integer'], |
|
26 | ['username', 'string'], |
|
27 | ['state', 'string'], |
|
28 | ['roles', 'trim'], |
|
29 | ]; |
|
30 | } |
|
31 | ||
32 | /** {@inheritdoc} */ |
|
33 | public static function findIdentity($id) |