| Total Complexity | 5 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class Rol |
||
| 7 | { |
||
| 8 | private string $_rol; |
||
| 9 | |||
| 10 | 14 | public function __construct(string $rol) |
|
| 11 | { |
||
| 12 | 14 | $this->_rol = $this->setRol($rol); |
|
| 13 | 14 | } |
|
| 14 | |||
| 15 | 14 | public function rol(): string |
|
| 16 | { |
||
| 17 | 14 | return $this->_rol; |
|
| 18 | } |
||
| 19 | |||
| 20 | 14 | private function setRol(string $string): string |
|
| 25 | } |
||
| 26 | |||
| 27 | 14 | private function estaVacio(string $rol): void |
|
| 34 |