Exemplo n.º 1
0
 /**
  * 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());
 }
Exemplo n.º 2
0
 /**
  * Gets the Session.
  *
  * @return SessionInterface|null The session
  *
  * @api
  */
 public function getSession()
 {
     return parent::getSession();
 }