| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class NotEmptyString |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $text; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param string $text |
||
| 14 | */ |
||
| 15 | public function __construct(string $text) |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function toNative(): string |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param NotEmptyString $notEmptyString |
||
| 34 | * @return bool |
||
| 35 | */ |
||
| 36 | public function equals(NotEmptyString $notEmptyString): bool |
||
| 41 |