src/Ulrichsg/Getopt/CommandLineParser.php
private function optionHasArgument($name)
    {
        foreach ($this->optionList as $option) {
            if ($option->matches($name)) {
                return $option->mode() != Getopt::NO_ARGUMENT;
            }
        }
        return false;
    }
private function optionHasArgument($name)
    {
        foreach ($this->optionList as $option) {
            if ($option->matches($name)) {
                return $option->mode() != Getopt::NO_ARGUMENT;
            }
        }
        return false;
    }
private function optionHasArgument ( $ name ) { foreach ( $ this -> optionList as $ option ) { if ( $ option -> matches ( $ name ) ) { return $ option -> mode ( ) != Getopt :: NO_ARGUMENT ; } } return false ; }
Return true if the given option can take an argument, false if it can't or is unknown.

@param string $name the option's name
@return boolean
Return true if the given option can take an argument false if it can t or is unknown .