/** * Add data to the data layer. * * @param array|string $key * @param mixed $value */ public function set($key, $value = null) { $this->dataLayer->set($key, $value); }
/** * Add data to the data layer for the next request. * * @param array|string $key * @param mixed $value */ public function flash($key, $value = null) { $this->flashDataLayer->set($key, $value); }