src/UthandoCommon/Stdlib/OptionsTrait.php
public function getOption($name)
    {
        if (!$this->hasOption($name)) {
            return null;
        }

        $getter = 'get' . ucfirst($name);

        return $this->options->{$getter}();
    }
public function getOption($name)
    {
        if (!$this->hasOption($name)) {
            return null;
        }

        $getter = 'get' . ucfirst($name);

        return $this->options->{$getter}();
    }
public function getOption ( $ name ) { if ( ! $ this -> hasOption ( $ name ) ) { return null ; } $ getter = 'get' . ucfirst ( $ name ) ; return $ this -> options -> { $ getter } ( ) ; }
get an option by name

@param string $name
@return mixed
get an option by name