private function registerObserver()
    {
        if ($this->observer) {
            return;
        }

        $this->observer = new \chilimatic\lib\session\observer\Session($this);
        $this->engine->attach($this->observer);
    }