Pagekit\Application\Console\Command::argument PHP Метод

argument() публичный Метод

Get the value of a command argument.
public argument ( string $key = null ) : string | array
$key string
Результат string | array
    public function argument($key = null)
    {
        if (is_null($key)) {
            return $this->input->getArguments();
        }
        return $this->input->getArgument($key);
    }