public function resetLimits() { foreach ($this->getLimits() as $limitName => $limit) { $this->setLimit($limitName, -1); } }