Exemplo n.º 1
0
    public function testGc()
    {
        $this->mock->expects($this->once())
            ->method('gc');

        $this->proxy->gc(86400);
    }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function __construct(\SessionHandlerInterface $handler)
 {
     parent::__construct($handler);
     $this->saveHandlerName = 'user';
     $this->_sessionName = ini_get('session.name');
 }