PHP Class FFMpeg\FFProbe\DataMapping\AbstractData

Inheritance: implements Countable
Afficher le fichier Open project: php-ffmpeg/php-ffmpeg

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

public __construct ( array $properties )
$properties array

all() public méthode

Returns all properties and their values.
public all ( ) : array
Résultat array

count() public méthode

public count ( )

get() public méthode

Returns the property value given its name.
public get ( string $property, mixed $default = null ) : mixed
$property string
$default mixed
Résultat mixed

has() public méthode

Returns true if data has property.
public has ( string $property ) : boolean
$property string
Résultat boolean

keys() public méthode

Returns all property names.
public keys ( ) : array
Résultat array

set() public méthode

Sets the property value given its name.
public set ( string $property, mixed $value ) : AbstractData
$property string
$value mixed
Résultat AbstractData