Skip to content

Commit

Permalink
fix : InteractWithMedias namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
webplusmultimedia committed Mar 10, 2024
1 parent c66be4a commit 13f291f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ php artisan vendor:publish --tag="gallery-json-media-views"
## Usage
### Prepare your model
```php
use GalleryJsonMedia\JsonMedia\Concerns\InteractWithMedia;
use GalleryJsonMedia\JsonMedia\Concerns\InteractWithMedias;
use GalleryJsonMedia\JsonMedia\Contracts\HasMedia;

class Page extends Model implements HasMedia
{
use HasFactory;
use InteractWithMedia;
use InteractWithMedias;

protected $casts =[
'images' => 'array',
Expand Down

0 comments on commit 13f291f

Please sign in to comment.