/** * Get session variables (from 'SessionVars' interface) * @return mixed|false session variables (if interface 'SessionVars' is defined in &-script) or false otherwise */ public function getSessionVars() { if (InterfaceObject::interfaceExists('SessionVars')) { try { $this->logger->debug("Getting interface 'SessionVars' for {$this->sessionAtom->__toString()}"); return $this->sessionAtom->ifc('SessionVars')->read(['metaData' => false, 'navIfc' => false]); } catch (Exception $e) { $this->logger->warning("Error while getting SessionVars interface: " . $e->getMessage()); return false; } } else { return false; } }