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 | * Value objects that can be represented by strings. |
| 9 | */ |
| 10 | interface StringValueObjectInterface extends ValueObjectInterface, Stringable, JsonSerializable |
| 11 | { |
| 12 | public function __construct(string $input); |
| 13 | public function toNative(): string; |
| 14 | } |