/** * Replaces the entire contents of this collection by the given collection * @param \System\iCollection\iCollection The collection to replace the current one with */ public function exchangeCollection(\System\Collection\iCollection $input) { $this->data = $input->getArrayCopy(); }
/** * Replaces the entire contents of this collection by the given collection * @param \System\Collection\iCollection The collection to replace the current one with */ public final function exchangeCollection(\System\Collection\iCollection $input) { $_COOKIE[SITE_IDENTIFIER] = $input->getArrayCopy(); }
/** * Replaces the entire contents of this collection by the given collection * @param \System\Collection\iCollection The collection to replace the current one with */ public final function exchangeCollection(\System\Collection\iCollection $input) { $this->exchangeArray($input->getArrayCopy()); }
/** * Replaces the entire contents of this collection by the given collection * @param \System\Collection\iCollection The collection to replace the current one with */ public final function exchangeCollection(\System\Collection\iCollection $input) { $_SESSION = $input->getArrayCopy(); }