| Total Complexity | 2 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 8 | class Auth  | 
            ||
| 9 | { | 
            ||
| 10 | |||
| 11 | protected $userModel;  | 
            ||
| 12 | |||
| 13 | /**  | 
            ||
| 14 | * instanciate  | 
            ||
| 15 | */  | 
            ||
| 16 | public function __construct(Container $container)  | 
            ||
| 20 | );  | 
            ||
| 21 | }  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * auth from login password and return user as array  | 
            ||
| 25 | *  | 
            ||
| 26 | * @param string $login  | 
            ||
| 27 | * @param string $password  | 
            ||
| 28 | * @return array  | 
            ||
| 29 | */  | 
            ||
| 30 | public function auth(string $login, string $password): array  | 
            ||
| 35 |