class Stream extends AbstractData
Methods
__construct(array $properties)
|
from AbstractData | |
Boolean |
has(string $property)
Returns true if data has property. |
from AbstractData |
mixed |
get(string $property)
Returns the property value given its name. |
from AbstractData |
AbstractData |
set(string $property, mixed $value)
Sets the property value given its name. |
from AbstractData |
array |
keys()
Returns all property names. |
from AbstractData |
array |
all()
Returns all properties and their values. |
from AbstractData |
count()
{@inheritdoc} |
from AbstractData | |
Boolean |
isAudio()
Returns true if the stream is an audio stream. |
|
Boolean |
isVideo()
Returns true if the stream is a video stream. |
|
Dimension |
getDimensions()
Returns the dimension of the video stream. |
Details
in AbstractData at line 20
public
__construct(array $properties)
in AbstractData at line 31
public Boolean
has(string $property)
Returns true if data has property.
in AbstractData at line 44
public mixed
get(string $property)
Returns the property value given its name.
in AbstractData at line 61
public AbstractData
set(string $property, mixed $value)
Sets the property value given its name.
in AbstractData at line 73
public array
keys()
Returns all property names.
in AbstractData at line 83
public array
all()
Returns all properties and their values.
in AbstractData at line 91
public
count()
{@inheritdoc}
at line 25
public Boolean
isAudio()
Returns true if the stream is an audio stream.
at line 35
public Boolean
isVideo()
Returns true if the stream is a video stream.
at line 48
public Dimension
getDimensions()
Returns the dimension of the video stream.