Page MenuHomeWickedGov Phorge

APCUBagOStuffTest.php
No OneTemporary

Size
486 B
Referenced Files
None
Subscribers
None

APCUBagOStuffTest.php

<?php
use Wikimedia\ObjectCache\APCUBagOStuff;
/**
* @group BagOStuff
* @covers \Wikimedia\ObjectCache\APCUBagOStuff
* @requires extension apcu
*/
class APCUBagOStuffTest extends BagOStuffTestBase {
protected function newCacheInstance() {
// Make sure the APCu methods actually store anything
if ( PHP_SAPI === 'cli' && !ini_get( 'apc.enable_cli' ) ) {
$this->markTestSkipped( 'apc.enable_cli=1 is required to run this test.' );
}
return new APCUBagOStuff( [] );
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 17 2026, 18:56 (10 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1a/ee/8add95e87e9027c181baec1918c8
Default Alt Text
APCUBagOStuffTest.php (486 B)

Event Timeline