Clinner\Command\Command::getOption PHP Method

getOption() public method

Get a single option value for this command, optionally providing a default value for it.
See also: Clinner\ValueHolder::get()
public getOption ( string $name, mixed $default = null ) : mixed
$name string The name of the option.
$default mixed The default value for the option, in case it isn't set.
return mixed
    public function getOption($name, $default = null)
    {
        return $this->_options->get($name, $default);
    }