Extractor/AddressExtractorRegistry.php
public function getExtractor($key)
    {
        if (!$this->hasExtractor($key)) {
            throw new \InvalidArgumentException(sprintf('Address extractor with key "%s" does not exist', $key));
        }

        return $this->extractors[$key];
    }
public function getExtractor($key)
    {
        if (!$this->hasExtractor($key)) {
            throw new \InvalidArgumentException(sprintf('Address extractor with key "%s" does not exist', $key));
        }

        return $this->extractors[$key];
    }
public function getExtractor ( $ key ) { if ( ! $ this -> hasExtractor ( $ key ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Address extractor with key "%s" does not exist' , $ key ) ) ; } return $ this -> extractors [ $ key ] ; }
Get the extractor for the specified key

@param  string                    $key
@return AddressExtractorInterface
@throws \InvalidArgumentException
Get the extractor for the specified key