审查视图

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/XcacheCacheTest.php 400 字节
王智 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php

namespace Doctrine\Tests\Common\Cache;

use Doctrine\Common\Cache\XcacheCache;

class XcacheCacheTest extends CacheTest
{
    public function setUp()
    {
        if ( ! extension_loaded('xcache')) {
            $this->markTestSkipped('The ' . __CLASS__ .' requires the use of xcache');
        }
    }

    protected function _getCacheDriver()
    {
        return new XcacheCache();
    }
}