SQLiteProcessor.php 405B

1234567891011121314151617181920
  1. <?php
  2. namespace Illuminate\Database\Query\Processors;
  3. class SQLiteProcessor extends Processor
  4. {
  5. /**
  6. * Process the results of a column listing query.
  7. *
  8. * @param array $results
  9. * @return array
  10. */
  11. public function processColumnListing($results)
  12. {
  13. return array_map(function ($result) {
  14. return ((object) $result)->name;
  15. }, $results);
  16. }
  17. }