public function getFetcher($alias)
    {
        if (!is_string($alias)) {
            throw new UnexpectedTypeException($alias, 'string');
        }

        if (!isset($this->fetchers[$alias])) {
            throw new \InvalidArgumentException(sprintf('Could not load configuration fetcher "%s"', $alias));
        }

        return $this->fetchers[$alias];
    }
public function getFetcher($alias)
    {
        if (!is_string($alias)) {
            throw new UnexpectedTypeException($alias, 'string');
        }

        if (!isset($this->fetchers[$alias])) {
            throw new \InvalidArgumentException(sprintf('Could not load configuration fetcher "%s"', $alias));
        }

        return $this->fetchers[$alias];
    }
public function getFetcher ( $ alias ) { if ( ! is_string ( $ alias ) ) { throw new UnexpectedTypeException ( $ alias , 'string' ) ; } if ( ! isset ( $ this -> fetchers [ $ alias ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Could not load configuration fetcher "%s"' , $ alias ) ) ; } return $ this -> fetchers [ $ alias ] ; }
Returns fetcher.

@param string $alias the alias

@return ConfigurationFetcherInterface
Returns fetcher .