/** * Set all values and reset keys * * @param EntityInterface[] $aValues * * @return $this */ public function set(array $aValues) { parent::set($aValues); return $this->resetKeys(); }
/** * Set indexed entities to collection * * @param AssocEntityInterface[] $aEntities * * @return $this */ public function set(array $aEntities) { return parent::set($this->indexEntities($aEntities)); }