Exemplo n.º 1
0
 /**
  * @param PoolInterface        $pool
  * @param ConnectionInterface  $connection
  * @param LoggerInterface|null $log
  * @param string               $type
  */
 public function __construct(ConnectionInterface $connection, PoolInterface $pool, LoggerInterface &$log = null, $type)
 {
     $this->connection = $connection;
     $this->pool = $pool;
     $this->log = $log;
     $this->type = $type;
     $this->order_by = $this->pool->getEscapedTypeOrderBy($type);
 }