Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | final class AuthRequest extends RequestModel implements RulesProviderInterface |
||
20 | { |
||
21 | 1 | public function getLogin(): string |
|
22 | { |
||
23 | 1 | return (string)$this->getAttributeValue('body.login'); |
|
24 | } |
||
25 | |||
26 | 1 | public function getPassword(): string |
|
29 | } |
||
30 | |||
31 | 1 | public function getRules(): array |
|
39 | ], |
||
40 | ]; |
||
43 |