FFMpeg\FFProbe\DataMapping\AbstractData::get PHP Method

get() public method

Returns the property value given its name.
public get ( string $property, mixed $default = null ) : mixed
$property string
$default mixed
return mixed
    public function get($property, $default = null)
    {
        if (!isset($this->properties[$property])) {
            return $default;
        }
        return $this->properties[$property];
    }