/** * Forwards a non-property $key to the getSessionApi * * @return ComConnectDomainEntitySession */ public function __get($key) { if (!$this->_repository->getDescription()->getProperty($key)) { return $this->getSessionApi($key); } return parent::__get($key); }