/** * Magic accessor for backward compatibility for property `$sessionKey`. * * @param string $name Property name * @return mixed */ public function __get($name) { if ($name === 'sessionKey') { return $this->storage()->config('key'); } return parent::__get($name); }