PHP Class Spatie\MediaLibrary\Exceptions\MediaCannotBeDeleted

Inheritance: extends Exceptio\Exception
Exibir arquivo Open project: spatie/laravel-medialibrary Class Usage Examples

Public Methods

Method Description
doesNotBelongToModel ( Media $media, Model $model )

Method Details

doesNotBelongToModel() public static method

public static doesNotBelongToModel ( Media $media, Model $model )
$media Spatie\MediaLibrary\Media
$model Illuminate\Database\Eloquent\Model