Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\Core\ValueObjects\Interfaces; |
| 3 | |
| 4 | use JsonSerializable; |
| 5 | use Stringable; |
| 6 | |
| 7 | /** |
| 8 | * Interface for value objects that can be expressed in a regular expression. |
| 9 | */ |
| 10 | interface HasRegexValueObjectInterface extends ValueObjectInterface, Stringable, JsonSerializable |
| 11 | { |
| 12 | public function toNative(): string; |
| 13 | public static function getRegularExpression(): string; |
| 14 | } |