| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 15 | final class NameDatabaseValidation implements ValidationInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $name; |
||
| 21 | |||
| 22 | 23 | public function __construct(string $name) |
|
| 23 | { |
||
| 24 | 23 | $this->name = $name; |
|
| 25 | 23 | } |
|
| 26 | |||
| 27 | 23 | public function validate(): void |
|
| 36 | ); |
||
| 37 | } |
||
| 40 |