public function getImporter($key)
    {
        foreach ($this->getImporters(true) as $k => $importer) {
            if ($key === $k) {
                return $importer;
            }
        }
        throw new \InvalidArgumentException(sprintf('Importer could not be found by key `%s`.', $key));
    }
public function getImporter($key)
    {
        foreach ($this->getImporters(true) as $k => $importer) {
            if ($key === $k) {
                return $importer;
            }
        }
        throw new \InvalidArgumentException(sprintf('Importer could not be found by key `%s`.', $key));
    }
public function getImporter ( $ key ) { foreach ( $ this -> getImporters ( true ) as $ k => $ importer ) { if ( $ key === $ k ) { return $ importer ; } } throw new \ InvalidArgumentException ( sprintf ( 'Importer could not be found by key `%s`.' , $ key ) ) ; }
Retrieves an importer by key

@param   string              $key
@return  ImporterInterface
@throws  InvalidArgumentInterface
Retrieves an importer by key