Total Complexity | 5 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class VerificarPorRecurso implements VerificarPermisosInterface |
||
11 | { |
||
12 | private array $_datos; |
||
13 | |||
14 | 14 | public function __construct(DatosDeConfiguracion $datosPorRol) |
|
15 | { |
||
16 | 14 | $this->_datos = $datosPorRol->datos(); |
|
17 | 14 | } |
|
18 | |||
19 | 14 | public function verificar(string $rol, string $recursoSolicitado): void |
|
25 | } |
||
26 | 14 | } |
|
27 | |||
28 | 14 | private function existeElRecurso(string $recursoSolicitado): void |
|
32 | } |
||
33 | 14 | } |
|
35 |