Library/Phalcon/Commands/Command.php
public function isReceivedOption($option)
    {
        if (!is_array($option)) {
            $option = [$option];
        }

        foreach ($option as $op) {
            if (isset($this->_parameters[$op])) {
                return true;
            }
        }

        return false;
    }
public function isReceivedOption($option)
    {
        if (!is_array($option)) {
            $option = [$option];
        }

        foreach ($option as $op) {
            if (isset($this->_parameters[$op])) {
                return true;
            }
        }

        return false;
    }
public function isReceivedOption ( $ option ) { if ( ! is_array ( $ option ) ) { $ option = [ $ option ] ; } foreach ( $ option as $ op ) { if ( isset ( $ this -> _parameters [ $ op ] ) ) { return true ; } } return false ; }
Indicates whether the script was a particular option.

@param  string  $option
@return boolean
Indicates whether the script was a particular option .