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