| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 21 | public function __construct(string $value) |
||
| 22 | { |
||
| 23 | Assertion::notEmpty($value, "The Traefik Ui password is empty"); |
||
| 24 | Assertion::regex( |
||
| 25 | $value, |
||
| 26 | self::REGEX, |
||
| 27 | "The Traefik Ui password does not contain only alphanumeric characters and _@#%?&*+=!-" |
||
| 28 | ); |
||
| 29 | $this->value = $value; |
||
| 30 | } |
||
| 65 | } |