protected function collectInput()
    {
        $password = $this->generateRandomPassword();

        return [
            'name' => $this->argument('name') ? $this->argument('name') : '',
            'email' => $this->argument('email'),
            'password' => $password,
            'password_confirmation' => $password,
        ];
    }
protected function collectInput()
    {
        $password = $this->generateRandomPassword();

        return [
            'name' => $this->argument('name') ? $this->argument('name') : '',
            'email' => $this->argument('email'),
            'password' => $password,
            'password_confirmation' => $password,
        ];
    }
protected function collectInput ( ) { $ password = $ this -> generateRandomPassword ( ) ; return [ 'name' => $ this -> argument ( 'name' ) ? $ this -> argument ( 'name' ) : '' , 'email' => $ this -> argument ( 'email' ) , 'password' => $ password , 'password_confirmation' => $ password , ] ; }
Returns an array with all required input.

@return array
Returns an array with all required input .