public function get($key)
    {
        if (!array_key_exists($key, $this->options)) {
            throw new InvalidArgumentException(sprintf('The key %s does not exist.', $key));
        }

        return $this->options[$key];
    }
public function get($key)
    {
        if (!array_key_exists($key, $this->options)) {
            throw new InvalidArgumentException(sprintf('The key %s does not exist.', $key));
        }

        return $this->options[$key];
    }
public function get ( $ key ) { if ( ! array_key_exists ( $ key , $ this -> options ) ) { throw new InvalidArgumentException ( sprintf ( 'The key %s does not exist.' , $ key ) ) ; } return $ this -> options [ $ key ] ; }
Get a value from the configuration by key.

@param $key
@return mixed
@throws \InvalidArgumentException
Get a value from the configuration by key .