OsvaldoGDelRio /
session-php
| 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
Loading history...
|
|||
| 9 | } |
||
| 10 | |||
| 11 | public function validar(string $id): bool |
||
| 12 | { |
||
| 13 | return $this->_respuesta; |
||
| 14 | } |
||
| 15 | } |
||
| 16 |