src/PhpPackages/Dumpy/Dumpy.php
public function getConfigOption($option)
    {
        // An exception will be thrown instead of returning NULL or something similar.
        if ( ! array_key_exists($option, $this->config)) {
            throw new UnexpectedValueException("Unexpected option name: {$option}");
        }

        return $this->config[$option];
    }
public function getConfigOption($option)
    {
        // An exception will be thrown instead of returning NULL or something similar.
        if ( ! array_key_exists($option, $this->config)) {
            throw new UnexpectedValueException("Unexpected option name: {$option}");
        }

        return $this->config[$option];
    }
public function getConfigOption ( $ option ) { // An exception will be thrown instead of returning NULL or something similar. if ( ! array_key_exists ( $ option , $ this -> config ) ) { throw new UnexpectedValueException ( "Unexpected option name: {$option}" ) ; } return $ this -> config [ $ option ] ; }
Returns the value of given configuration option.

@throws \UnexpectedValueException
@param string $option
@return mixed
Returns the value of given configuration option .