| Total Complexity | 9 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class PasswordsManager |
||
| 11 | { |
||
| 12 | use SessionGuardHelper; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var Repository |
||
| 16 | */ |
||
| 17 | private $config; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * PasswordsManager constructor. |
||
| 21 | * |
||
| 22 | * @param Repository $config |
||
| 23 | */ |
||
| 24 | public function __construct(Repository $config) |
||
| 25 | { |
||
| 26 | $this->config = $config; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function handle() |
||
| 41 | } |
||
| 42 | }); |
||
| 43 | } |
||
| 44 | } |
||
| 45 | }); |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Check if running under admin area. |
||
| 50 | * |
||
| 51 | * @param RouteMatched $event |
||
| 52 | * |
||
| 53 | * @return bool |
||
| 54 | */ |
||
| 55 | protected function isAdminArea(RouteMatched $event) |
||
| 62 | } |
||
| 63 | } |
||
| 64 |