original_string: protected function backup($process)
      {
          if ($process) {
              $this->line('');
              //
              $ok = $this->confirm('Wanna make backup for database ? [yes/no]', false);
              //
              if ($ok) {
                  if (Database::export()) {
                      $this->info('The database saved');
                  } else {
                      $this->error("The database wasn't saved");
                  }
              }
          }
      }
code: protected function backup($process)
      {
          if ($process) {
              $this->line('');
              //
              $ok = $this->confirm('Wanna make backup for database ? [yes/no]', false);
              //
              if ($ok) {
                  if (Database::export()) {
                      $this->info('The database saved');
                  } else {
                      $this->error("The database wasn't saved");
                  }
              }
          }
      }
code_tokens: protected function backup ( $ process ) { if ( $ process ) { $ this -> line ( '' ) ; // $ ok = $ this -> confirm ( 'Wanna make backup for database ? [yes/no]' , false ) ; // if ( $ ok ) { if ( Database :: export ( ) ) { $ this -> info ( 'The database saved' ) ; } else { $ this -> error ( "The database wasn't saved" ) ; } } } }
docstring: Make backup for database.
docstring_tokens: Make backup for database .