Ejemplo n.º 1
0
 protected function processOffset(PlatformInterface $platform, DriverInterface $driver = null, Parameters $parameters = null)
 {
     if ($this->offset === null) {
         return null;
     }
     if ($driver) {
         $parameters->offsetSet('offset', $this->offset, Parameters::TYPE_INTEGER);
         return array($driver->formatParameterName('offset'));
     }
     return array($platform->quoteLimitOffset($this->offset));
 }