/** * Set a PicoDb query * * @access public * @param \PicoDb\Table * @return Paginator */ public function setQuery(Table $query) { $this->query = $query; $this->total = $this->query->count(); return $this; }