src/ShellCommand.php
final public function argument($key)
    {
        $result = null;

        foreach ($this->shellArguments as $shellArgument) {
            if ($shellArgument['key'] === $key) {
                $result = $shellArgument;

                break;
            }
        }

        return $result;
    }
final public function argument($key)
    {
        $result = null;

        foreach ($this->shellArguments as $shellArgument) {
            if ($shellArgument['key'] === $key) {
                $result = $shellArgument;

                break;
            }
        }

        return $result;
    }
final public function argument ( $ key ) { $ result = null ; foreach ( $ this -> shellArguments as $ shellArgument ) { if ( $ shellArgument [ 'key' ] === $ key ) { $ result = $ shellArgument ; break ; } } return $ result ; }
Get a specific argument.

Return null if the argument isn't found.

@param $key

@return mixed
Get a specific argument .