/var/www/hkosl.com/b2b2c/webadmin/libraies/illuminate/database/Query/Processors/SQLiteProcessor.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

namespace Illuminate\Database\Query\Processors;

class 
SQLiteProcessor extends Processor
{
    
/**
     * Process the results of a column listing query.
     *
     * @param  array  $results
     * @return array
     */
    
public function processColumnListing($results)
    {
        
$mapping = function ($r) {
            
$r = (object) $r;

            return 
$r->name;
        };

        return 
array_map($mapping$results);
    }
}