public function getArgument($name)
    {
        foreach ($this->commandArguments as $argument) {
            if ($argument->getName() === $name) {
                return $argument->getValue();
            }
        }
        return null;
    }
public function getArgument($name)
    {
        foreach ($this->commandArguments as $argument) {
            if ($argument->getName() === $name) {
                return $argument->getValue();
            }
        }
        return null;
    }
public function getArgument ( $ name ) { foreach ( $ this -> commandArguments as $ argument ) { if ( $ argument -> getName ( ) === $ name ) { return $ argument -> getValue ( ) ; } } return null ; }
Returns null if the value doesn't exist. Returns default value if set from command, and the actual value
if passed on the command line.

@param string $name

@return mixed|null
Returns null if the value doesn t exist . Returns default value if set from command and the actual value if passed on the command line .