public function getPreset($key)
    {
        if (!isset($this->presets[$key])) {
            throw new Exception\PresetNotFoundException(sprintf("Requested preset %s was not found in the Transcoder.", $key));
        }

        return $this->presets[$key];
    }
public function getPreset($key)
    {
        if (!isset($this->presets[$key])) {
            throw new Exception\PresetNotFoundException(sprintf("Requested preset %s was not found in the Transcoder.", $key));
        }

        return $this->presets[$key];
    }
public function getPreset ( $ key ) { if ( ! isset ( $ this -> presets [ $ key ] ) ) { throw new Exception \ PresetNotFoundException ( sprintf ( "Requested preset %s was not found in the Transcoder." , $ key ) ) ; } return $ this -> presets [ $ key ] ; }
Get a preset instance with the given key

@param  string                $key
@return AC\Transcoding\Preset
Get a preset instance with the given key