public function attach(ServletSessionInterface $session) { $this->getSessions()->add($session->getId(), $session); }