src/config/Config.php
public function offsetExists($key) {
        if (!is_string($key)) throw new IllegalTypeException('Illegal type of parameter $key: '.gettype($key));

        $notFound = false;
        $this->getProperty($key, $notFound);

        return !$notFound;
    }
public function offsetExists($key) {
        if (!is_string($key)) throw new IllegalTypeException('Illegal type of parameter $key: '.gettype($key));

        $notFound = false;
        $this->getProperty($key, $notFound);

        return !$notFound;
    }
public function offsetExists ( $ key ) { if ( ! is_string ( $ key ) ) throw new IllegalTypeException ( 'Illegal type of parameter $key: ' . gettype ( $ key ) ) ; $ notFound = false ; $ this -> getProperty ( $ key , $ notFound ) ; return ! $ notFound ; }
Whether a config setting with the specified key exists.

@param  string $key - case-insensitive key

@return bool
Whether a config setting with the specified key exists .