classes/Input/EncodingProviders/Zencoder.php
public function zencoderArray($obj)
    {
        if (is_array($obj)) {
            return $obj;
        }

        if (is_a($obj, 'Services_Zencoder_Object')) {
            return get_object_vars($obj);
        }

        throw new Exception('Unexpected object: '.get_class($obj));
    }
public function zencoderArray($obj)
    {
        if (is_array($obj)) {
            return $obj;
        }

        if (is_a($obj, 'Services_Zencoder_Object')) {
            return get_object_vars($obj);
        }

        throw new Exception('Unexpected object: '.get_class($obj));
    }
public function zencoderArray ( $ obj ) { if ( is_array ( $ obj ) ) { return $ obj ; } if ( is_a ( $ obj , 'Services_Zencoder_Object' ) ) { return get_object_vars ( $ obj ) ; } throw new Exception ( 'Unexpected object: ' . get_class ( $ obj ) ) ; }
Convert a Services_Zencoder_Object object to an array

@param  Services_Zencoder_Object|array $obj
@return array
Convert a Services_Zencoder_Object object to an array