public function limit($value) { $this->limit = is_numeric($value) ? intval($value) : null; return $this; }