/** * Get a key to represent the access ability of the system. This is used to shard the cache array. * * @return string E.g. "ignored" or "123" */ protected function getAccessKey() { if ($this->session->getIgnoreAccess()) { return "ignored"; } return (string) $this->session->getLoggedInUserGuid(); }