MediaCollection
in package
uses
ForwardsCalls
Tags
Table of Contents
Properties
- $items : Collection
Methods
- __call() : mixed
- __construct() : mixed
- collection() : Collection
- count() : int
- Count the number of items in the collection.
- getHeaders() : array<string|int, mixed>
- Returns an array with all headers of the Media items.
- getLocalPaths() : array<string|int, mixed>
- Returns an array with all locals paths of the Media items.
- make() : self
Properties
$items
private
Collection
$items
Methods
__call()
public
__call(mixed $method, mixed $parameters) : mixed
Parameters
- $method : mixed
- $parameters : mixed
__construct()
public
__construct([array<string|int, mixed> $items = [] ]) : mixed
Parameters
- $items : array<string|int, mixed> = []
collection()
public
collection() : Collection
Return values
Collectioncount()
Count the number of items in the collection.
public
count() : int
Return values
intgetHeaders()
Returns an array with all headers of the Media items.
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>getLocalPaths()
Returns an array with all locals paths of the Media items.
public
getLocalPaths() : array<string|int, mixed>
Return values
array<string|int, mixed>make()
public
static make([array<string|int, mixed> $items = [] ]) : self
Parameters
- $items : array<string|int, mixed> = []