original_string: protected function userSetup()
      {
          $this->output->writeln(<<<STEP
  <fg=yellow>
  *-----------------------------------------------*
  |                                               |
  |            Configure Default User             |
  |                                               |
  *-----------------------------------------------*
  </fg=yellow>
  STEP
          );
  
          $first = $this->ask('Please enter the user first name');
          $last  = $this->ask('Please enter the user last name');
          $email = $this->ask('Please enter the user email');
          $pass  = $this->userSetupPassword();
  
          $headers = [
            'Setting',
            'Value'
          ];
  
          $data = [
            ['First Name', $first],
            ['Last Name', $last],
            ['Email', $email],
            ['Password', $pass],
          ];
  
          $this->table($headers, $data);
  
          if (!$this->confirm('Is the user information correct?')) {
              $this->userSetup();
          }
  
          $this->user = [
            'first' => $first,
            'last'  => $last,
            'email' => $email,
            'pass'  => $pass,
          ];
  
          $this->info('User configuration saved.');
      }
code: protected function userSetup()
      {
          $this->output->writeln(<<<STEP
  <fg=yellow>
  *-----------------------------------------------*
  |                                               |
  |            Configure Default User             |
  |                                               |
  *-----------------------------------------------*
  </fg=yellow>
  STEP
          );
  
          $first = $this->ask('Please enter the user first name');
          $last  = $this->ask('Please enter the user last name');
          $email = $this->ask('Please enter the user email');
          $pass  = $this->userSetupPassword();
  
          $headers = [
            'Setting',
            'Value'
          ];
  
          $data = [
            ['First Name', $first],
            ['Last Name', $last],
            ['Email', $email],
            ['Password', $pass],
          ];
  
          $this->table($headers, $data);
  
          if (!$this->confirm('Is the user information correct?')) {
              $this->userSetup();
          }
  
          $this->user = [
            'first' => $first,
            'last'  => $last,
            'email' => $email,
            'pass'  => $pass,
          ];
  
          $this->info('User configuration saved.');
      }
code_tokens: protected function userSetup ( ) { $ this -> output -> writeln ( <<<STEP
  <fg=yellow>
  *-----------------------------------------------*
  |                                               |
  |            Configure Default User             |
  |                                               |
  *-----------------------------------------------*
  </fg=yellow>
  STEP ) ; $ first = $ this -> ask ( 'Please enter the user first name' ) ; $ last = $ this -> ask ( 'Please enter the user last name' ) ; $ email = $ this -> ask ( 'Please enter the user email' ) ; $ pass = $ this -> userSetupPassword ( ) ; $ headers = [ 'Setting' , 'Value' ] ; $ data = [ [ 'First Name' , $ first ] , [ 'Last Name' , $ last ] , [ 'Email' , $ email ] , [ 'Password' , $ pass ] , ] ; $ this -> table ( $ headers , $ data ) ; if ( ! $ this -> confirm ( 'Is the user information correct?' ) ) { $ this -> userSetup ( ) ; } $ this -> user = [ 'first' => $ first , 'last' => $ last , 'email' => $ email , 'pass' => $ pass , ] ; $ this -> info ( 'User configuration saved.' ) ; }
docstring: Setup the user credentials.
  
  @return void
docstring_tokens: Setup the user credentials .