public function registerAdapter(Adapter $adapter)
    {
        $adapter->setTranscoder($this);
        $this->adapters[$adapter->getKey()] = $adapter;

        return $this;
    }
public function registerAdapter(Adapter $adapter)
    {
        $adapter->setTranscoder($this);
        $this->adapters[$adapter->getKey()] = $adapter;

        return $this;
    }
public function registerAdapter ( Adapter $ adapter ) { $ adapter -> setTranscoder ( $ this ) ; $ this -> adapters [ $ adapter -> getKey ( ) ] = $ adapter ; return $ this ; }
Register an adapter instance with the Transcoder

@param  Adapter $adapter
@return self
Register an adapter instance with the Transcoder