MediaObjectInterface
in
Class implements media object interface.
Table of Contents
Methods
- get() : mixed
- Get value by using dot notation for nested arrays/objects.
- getMeta() : array<string|int, mixed>
- Returns an array containing the file metadata
- url() : string
- Return URL to file.
Methods
get()
Get value by using dot notation for nested arrays/objects.
public
get(string $name[, mixed $default = null ][, string|null $separator = null ]) : mixed
Parameters
- $name : string
-
Dot separated path to the requested value.
- $default : mixed = null
-
Default value (or null).
- $separator : string|null = null
-
Separator, defaults to '.'
Tags
Return values
mixed —Value.
getMeta()
Returns an array containing the file metadata
public
getMeta() : array<string|int, mixed>
Return values
array<string|int, mixed>url()
Return URL to file.
public
url([bool $reset = true ]) : string
Parameters
- $reset : bool = true