/** * Add all models from a different Models collection * * @param Models $other */ public function addAll(Models $other) { if ($other->count() > 0) { $this->models->addAll($other->models); } return $this; }
/** * @return int */ public function count() { return $this->models->count(); }
/** * @return int */ public function count() { return $this->current->count(); }