* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Cache\Tests\Simple; use Psr\SimpleCache\CacheInterface; use Symfony\Component\Cache\Simple\PhpFilesCache; /** * @group time-sensitive */ class PhpFilesCacheTest extends CacheTestCase { protected $skippedTests = array( 'testDefaultLifeTime' => 'PhpFilesCache does not allow configuring a default lifetime.', ); public function createSimpleCache() { if (!PhpFilesCache::isSupported()) { $this->markTestSkipped('OPcache extension is not enabled.'); } return new PhpFilesCache('sf-cache'); } protected function isPruned(CacheInterface $cache, $name) { $getFileMethod = (new \ReflectionObject($cache))->getMethod('getFile'); $getFileMethod->setAccessible(true); return !file_exists($getFileMethod->invoke($cache, $name)); } } __halt_compiler();----SIGNATURE:----nLYohkG0Ecg1jFqNvqqcE+TIN7DL2UNGnJrsa9NAaFJqdWPomSRXs0qBEgWshhc5e8UWamcRFA7yCyrZS2Xqg8SVzYtA7BGuDKjgTVDDl0HQKyjQOEkZomJCIThjRZk3dlAykXICLohyfxdd/pMGPDlVtElGZJSpio1Vopsdi+K7NU/O/TWa5I+kCqkjReL0dd9Nj5pK165fQT/pZQVYc8qppsGbZXfPN0TBSJ+T0ShLzHo/ao/BM6cRsae77IdJJDXfpUX636jxDlnDR17V2VPfsL1/nn9tQSwmF2/8INjyeQyMfvOOV7S/KqY3dMvUbHNesX99TIVYsdSK+Lgfcwz9EEegKrf3AWRpBknEe0uSkh8oXTPyCnIFXl+nU9HweTK1kjmjP9Xnr9ngC9Nafba8oi6HpiCUmHvQfVn/vb+rZDFV9GCZVnGQV2cNg2I6FnfK/JbFMFXmvTQfklw5nRbOzYQj/wiN9w7MTiaWMsTQZcbivagjwyXR8ShVnKvHeMfa2JowAmVSxTCXqCqlkDiNim+yQXNbdM89vSCKvWIO2pRHYmBOOE8IbdV2k33r2Tk54B3y/9CNt8zuoR4xWtL7E24Fq8z/Lh3CPz4lSyPSASgrHnviotOVNOi5E6B9NUfbaGn1GuLdMNTNeb6SA1AtUtw/DKRpWiPZfK+7VxU=----ATTACHMENT:----MjQ0MDEyMDUzNTg2MjkxIDUyMDIyODAzNjc4NDQ4MDMgNjE1NTAwNzI0NzY4ODQ4NA==