/** * Shift the first Page off of the PageArray and return it. * * @return Page|NULL * */ public function shift() { if ($this->numTotal) { $this->numTotal--; } return parent::shift(); }
public function shift() { $this->preload(); return parent::shift(); }