Illuminate\Database\Connection::getPostProcessor PHP Метод

getPostProcessor() публичный Метод

Get the query post processor used by the connection.
public getPostProcessor ( ) : Illuminate\Database\Query\Processors\Processor
Результат Illuminate\Database\Query\Processors\Processor
    public function getPostProcessor()
    {
        return $this->postProcessor;
    }

Usage Example

Пример #1
0
 /**
  * Get the column listing for a given table.
  *
  * @param  string  $table
  * @return array
  */
 public function getColumnListing($table)
 {
     $table = $this->connection->getTablePrefix() . $table;
     $results = $this->connection->select($this->grammar->compileColumnExists($table));
     return $this->connection->getPostProcessor()->processColumnListing($results);
 }