1 | <?php |
||
2 | namespace src; |
||
3 | |||
4 | class ValidarID implements ValidarSesionIdInterface |
||
5 | { |
||
6 | public function __construct(bool $true) |
||
7 | { |
||
8 | $this->_respuesta = $true; |
||
0 ignored issues
–
show
Bug
Best Practice
introduced
by
![]() |
|||
9 | } |
||
10 | |||
11 | public function validar(string $id): bool |
||
12 | { |
||
13 | return $this->_respuesta; |
||
14 | } |
||
15 | } |
||
16 |