original_string: protected function dumpData($outputPath)
      {
          $tables = Arr::get($this->installConfig, 'dataTables', []);
  
          /**
           *  Do not attempt to create an empty data install file if no tables are to be exported.
           *  Otherwise all tables will be exported.
           */
          if (! count($tables)) {
              return;
          }
  
          $command = sprintf(
              'mysqldump %s %s -u %s -p%s --no-create-info > %s',
              escapeshellarg($this->dbConfig['database']),
              implode(' ', $tables),
              escapeshellarg($this->dbConfig['username']),
              escapeshellarg($this->dbConfig['password']),
              escapeshellarg($outputPath.'/'.self::DATA_FILE)
          );
  
          return shell_exec($command);
      }
code: protected function dumpData($outputPath)
      {
          $tables = Arr::get($this->installConfig, 'dataTables', []);
  
          /**
           *  Do not attempt to create an empty data install file if no tables are to be exported.
           *  Otherwise all tables will be exported.
           */
          if (! count($tables)) {
              return;
          }
  
          $command = sprintf(
              'mysqldump %s %s -u %s -p%s --no-create-info > %s',
              escapeshellarg($this->dbConfig['database']),
              implode(' ', $tables),
              escapeshellarg($this->dbConfig['username']),
              escapeshellarg($this->dbConfig['password']),
              escapeshellarg($outputPath.'/'.self::DATA_FILE)
          );
  
          return shell_exec($command);
      }
code_tokens: protected function dumpData ( $ outputPath ) { $ tables = Arr :: get ( $ this -> installConfig , 'dataTables' , [ ] ) ; /**
           *  Do not attempt to create an empty data install file if no tables are to be exported.
           *  Otherwise all tables will be exported.
           */ if ( ! count ( $ tables ) ) { return ; } $ command = sprintf ( 'mysqldump %s %s -u %s -p%s --no-create-info > %s' , escapeshellarg ( $ this -> dbConfig [ 'database' ] ) , implode ( ' ' , $ tables ) , escapeshellarg ( $ this -> dbConfig [ 'username' ] ) , escapeshellarg ( $ this -> dbConfig [ 'password' ] ) , escapeshellarg ( $ outputPath . '/' . self :: DATA_FILE ) ) ; return shell_exec ( $ command ) ; }
docstring: Export database data to dbData install file
  
  @param  string $outputPath Path where file should be exported
docstring_tokens: Export database data to dbData install file