public function options($key = null, $default = null)
    {
        $option = $this->getParameter('options', new Collection());

        if ($key == null) {
            return $option;
        }

        return $option->get($key, $default);
    }
public function options($key = null, $default = null)
    {
        $option = $this->getParameter('options', new Collection());

        if ($key == null) {
            return $option;
        }

        return $option->get($key, $default);
    }
public function options ( $ key = null , $ default = null ) { $ option = $ this -> getParameter ( 'options' , new Collection ( ) ) ; if ( $ key == null ) { return $ option ; } return $ option -> get ( $ key , $ default ) ; }
Retrieves the options of the command

@param  string $key
@param  string $default

@return Collection|mixed|null
Retrieves the options of the command