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

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

        return $this->adapters[$key];
    }
public function getAdapter ( $ key ) { if ( ! isset ( $ this -> adapters [ $ key ] ) ) { throw new Exception \ AdapterNotFoundException ( sprintf ( "Requested adapter %s was not found in the Transcoder." , $ key ) ) ; } return $ this -> adapters [ $ key ] ; }
Return an adapter instance by key

@param  string                 $key
@return AC\Transcoding\Adapter on success, throws exception if not found
Return an adapter instance by key