public function getOption(string $key)
    {
        if (array_key_exists($key, $this->options)) {
            return $this->options[$key];
        }

        throw new Exception('Invalid option key "' . $key . '".', Exception::INVALID_OPTION);
    }
public function getOption(string $key)
    {
        if (array_key_exists($key, $this->options)) {
            return $this->options[$key];
        }

        throw new Exception('Invalid option key "' . $key . '".', Exception::INVALID_OPTION);
    }
public function getOption ( string $ key ) { if ( array_key_exists ( $ key , $ this -> options ) ) { return $ this -> options [ $ key ] ; } throw new Exception ( 'Invalid option key "' . $ key . '".' , Exception :: INVALID_OPTION ) ; }
Gets an loader option value

@param string $key

@throws \FileLoader\Exception

@return mixed
Gets an loader option value