diff --git a/eloquent-mutators.md b/eloquent-mutators.md index c03d57ce634..ddb2db1c596 100644 --- a/eloquent-mutators.md +++ b/eloquent-mutators.md @@ -721,7 +721,7 @@ When attaching a custom cast to a model, cast parameters may be specified by sep You may want to allow your application's value objects to define their own custom cast classes. Instead of attaching the custom cast class to your model, you may alternatively attach a value object class that implements the `Illuminate\Contracts\Database\Eloquent\Castable` interface: - use App\Models\Address; + use App\ValueObjects\Address; protected $casts = [ 'address' => Address::class, @@ -731,7 +731,7 @@ Objects that implement the `Castable` interface must define a `castUsing` method Address::class.':argument',