WinCacheCacheTest.php 455 B

1234567891011121314151617181920
  1. <?php
  2. namespace Doctrine\Tests\Common\Cache;
  3. use Doctrine\Common\Cache\WincacheCache;
  4. class WincacheCacheTest extends CacheTest
  5. {
  6. public function setUp()
  7. {
  8. if ( ! extension_loaded('wincache') || ! function_exists('wincache_ucache_info')) {
  9. $this->markTestSkipped('The ' . __CLASS__ .' requires the use of Wincache');
  10. }
  11. }
  12. protected function _getCacheDriver()
  13. {
  14. return new WincacheCache();
  15. }
  16. }