classes/Input/EncodingProviders/Zencoder.php
protected function outputsToHash($outputs)
    {
        return array_map(function ($output) {

            // If a destination_root was set, subsitute that in for the destination
            // in the retured URL
            if ($root = Config::get('decoy.encode.destination_root')) {
                return str_replace(Config::get('decoy.encode.destination'), $root, $output->url);
            }

            // Else just return the URL
            return $output->url;
        }, $this->zencoderArray($outputs));
    }
protected function outputsToHash($outputs)
    {
        return array_map(function ($output) {

            // If a destination_root was set, subsitute that in for the destination
            // in the retured URL
            if ($root = Config::get('decoy.encode.destination_root')) {
                return str_replace(Config::get('decoy.encode.destination'), $root, $output->url);
            }

            // Else just return the URL
            return $output->url;
        }, $this->zencoderArray($outputs));
    }
protected function outputsToHash ( $ outputs ) { return array_map ( function ( $ output ) { // If a destination_root was set, subsitute that in for the destination // in the retured URL if ( $ root = Config :: get ( 'decoy.encode.destination_root' ) ) { return str_replace ( Config :: get ( 'decoy.encode.destination' ) , $ root , $ output -> url ) ; } // Else just return the URL return $ output -> url ; } , $ this -> zencoderArray ( $ outputs ) ) ; }
Massage the outputs from Zencoder into a key-val associative array

@param  array $outputs
@return array
Massage the outputs from Zencoder into a key - val associative array