public function processSelectAll(Finder $finder, $results)
    {
        if (!count($results)) {
            return [];
        }

        $items = [];

        foreach ($results as $result) {
            $fileName = array_get($result, 'fileName');
            $items[$fileName] = $this->parseTemplateContent($result, $fileName);
        }

        return $items;
    }
public function processSelectAll(Finder $finder, $results)
    {
        if (!count($results)) {
            return [];
        }

        $items = [];

        foreach ($results as $result) {
            $fileName = array_get($result, 'fileName');
            $items[$fileName] = $this->parseTemplateContent($result, $fileName);
        }

        return $items;
    }
public function processSelectAll ( Finder $ finder , $ results ) { if ( ! count ( $ results ) ) { return [ ] ; } $ items = [ ] ; foreach ( $ results as $ result ) { $ fileName = array_get ( $ result , 'fileName' ) ; $ items [ $ fileName ] = $ this -> parseTemplateContent ( $ result , $ fileName ) ; } return $ items ; }
Process the results of a "select" query.

@param  \Igniter\Flame\Pagic\Finder $finder
@param  array $results

@return array
Process the results of a select query .