PHP 클래스 FFMpeg\FFProbe\DataMapping\AbstractData

상속: implements Countable
파일 보기 프로젝트 열기: php-ffmpeg/php-ffmpeg

공개 메소드들

메소드 설명
__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