protected function MemcacheSessionHandlerTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/MemcacheSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\MemcacheSessionHandlerTest::setUp()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ MemcacheSessionHandlerTest.php, line 27
Class
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\HandlerCode
protected function setUp() {
if (!class_exists('Memcache')) {
$this
->markTestSkipped('Skipped tests Memcache class is not present');
}
$this->memcache = $this
->getMock('Memcache');
$this->storage = new MemcacheSessionHandler($this->memcache, array(
'prefix' => self::PREFIX,
'expiretime' => self::TTL,
));
}