/** * This should be removed and moved into a request middleware layer, lets just make sure it happens here for now */ public function testAddedToRequest() { $session = $this->factory->createSession(); $this->assertEquals($session, $this->request->getSession()); $this->assertInstanceOf('Symfony\\Component\\HttpFoundation\\Session\\SessionInterface', $this->request->getSession()); }
/** * Gets the Session. * * @return SessionInterface|null The session * * @api */ public function getSession() { return parent::getSession(); }