diff --git a/src/Casts/StringableCast.php b/src/Casts/ValueObjectCast.php similarity index 92% rename from src/Casts/StringableCast.php rename to src/Casts/ValueObjectCast.php index 6e60a73..24ec7a0 100644 --- a/src/Casts/StringableCast.php +++ b/src/Casts/ValueObjectCast.php @@ -7,7 +7,7 @@ use Spatie\LaravelData\Support\DataProperty; use Stringable; -class StringableCast implements Cast +class ValueObjectCast implements Cast { public function cast(DataProperty $property, mixed $value, array $context): Stringable|Uncastable { diff --git a/src/Enums/PremiumType.php b/src/Enums/PremiumType.php new file mode 100644 index 0000000..aab26cf --- /dev/null +++ b/src/Enums/PremiumType.php @@ -0,0 +1,14 @@ +