MediaService
in package
Table of Contents
Properties
- $appendMedia : array<string|int, mixed>
- $prependMedia : array<string|int, mixed>
Methods
- deleteMedia() : void
- getAllMedia() : Collection
- isUsed() : bool
Properties
$appendMedia
public
static array<string|int, mixed>
$appendMedia
= []
$prependMedia
public
static array<string|int, mixed>
$prependMedia
= []
Methods
deleteMedia()
public
deleteMedia(string $url) : void
Parameters
- $url : string
getAllMedia()
public
getAllMedia() : Collection
Return values
CollectionisUsed()
public
isUsed(string $url) : bool
Parameters
- $url : string