public function isApplicable(array $params)
    {
        foreach ($this->getArguments() as $argument) {
            if ($argument->isApplicable($params)) {
                $this->argument = $argument;
                return true;
            }
        }
        return false;
    }
public function isApplicable(array $params)
    {
        foreach ($this->getArguments() as $argument) {
            if ($argument->isApplicable($params)) {
                $this->argument = $argument;
                return true;
            }
        }
        return false;
    }
public function isApplicable ( array $ params ) { foreach ( $ this -> getArguments ( ) as $ argument ) { if ( $ argument -> isApplicable ( $ params ) ) { $ this -> argument = $ argument ; return true ; } } return false ; }
Check if provided params fit into one of option arguments
Only first applicable is taken under consideration

@param array $params
@return bool
Check if provided params fit into one of option arguments Only first applicable is taken under consideration