PHP Класс FFMpeg\FFProbe\DataMapping\AbstractData

Наследование: implements Countable
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( array $properties )
all ( ) : array Returns all properties and their values.
count ( )
get ( string $property, mixed $default = null ) : mixed Returns the property value given its name.
has ( string $property ) : boolean Returns true if data has property.
keys ( ) : array Returns all property names.
set ( string $property, mixed $value ) : AbstractData Sets the property value given its name.

Описание методов

__construct() публичный Метод

public __construct ( array $properties )
$properties array

all() публичный Метод

Returns all properties and their values.
public all ( ) : array
Результат array

count() публичный Метод

public count ( )

get() публичный Метод

Returns the property value given its name.
public get ( string $property, mixed $default = null ) : mixed
$property string
$default mixed
Результат mixed

has() публичный Метод

Returns true if data has property.
public has ( string $property ) : boolean
$property string
Результат boolean

keys() публичный Метод

Returns all property names.
public keys ( ) : array
Результат array

set() публичный Метод

Sets the property value given its name.
public set ( string $property, mixed $value ) : AbstractData
$property string
$value mixed
Результат AbstractData