/** * Get all values in the container as an associative array. * * @return array */ public function getAllValues() { $retVal = []; foreach ($this->manager->getCookies() as $key => $value) { if (substr($key, 0, strlen($this->groupName)) == $this->groupName) { $retVal[substr($key, strlen($this->groupName))] = $value; } } return $retVal; }