public function get($id)
    {
        if (!$this->has($id)) {
            throw new \InvalidArgumentException(sprintf('Configuration "%s" not found.', $id));
        }

        return $this->configurations[$id];
    }
public function get($id)
    {
        if (!$this->has($id)) {
            throw new \InvalidArgumentException(sprintf('Configuration "%s" not found.', $id));
        }

        return $this->configurations[$id];
    }
public function get ( $ id ) { if ( ! $ this -> has ( $ id ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Configuration "%s" not found.' , $ id ) ) ; } return $ this -> configurations [ $ id ] ; }
Returns the configuration for the given identifier.

@param string $id

@throws \InvalidArgumentException

@return ConfigurationInterface
Returns the configuration for the given identifier .