本文整理汇总了PHP中PhraseanetTestCase::tearDownAfterClass方法的典型用法代码示例。如果您正苦于以下问题:PHP PhraseanetTestCase::tearDownAfterClass方法的具体用法?PHP PhraseanetTestCase::tearDownAfterClass怎么用?PHP PhraseanetTestCase::tearDownAfterClass使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PhraseanetTestCase
的用法示例。
在下文中一共展示了PhraseanetTestCase::tearDownAfterClass方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tearDownAfterClass
public static function tearDownAfterClass()
{
$app = new Application('test');
\phrasea::reset_sbasDatas($app['phraseanet.appbox']);
\phrasea::reset_baseDatas($app['phraseanet.appbox']);
parent::tearDownAfterClass();
}
示例2: tearDownAfterClass
public static function tearDownAfterClass()
{
if (self::$object instanceof \collection) {
self::$object->delete();
}
self::$object = self::$objectDisable = null;
parent::tearDownAfterClass();
}
示例3: tearDownAfterClass
public static function tearDownAfterClass()
{
if (null !== self::$userSettings) {
self::$DI['app']['conf']->set('user-settings', self::$userSettings);
}
if (null !== self::$appSettings) {
self::$DI['app']['conf']->set('registry', self::$appSettings);
}
self::$userSettings = self::$appSettings = null;
parent::tearDownAfterClass();
}
示例4: tearDownAfterClass
public static function tearDownAfterClass()
{
if (self::$object) {
self::$object->delete();
self::$object = null;
}
if (self::$api) {
self::$api->delete();
self::$api = null;
}
self::$object = self::$api = self::$dist_id = self::$named = self::$id = null;
parent::tearDownAfterClass();
}
示例5: tearDownAfterClass
public static function tearDownAfterClass()
{
self::$objectPresent = self::$objectNotPresent = self::$recordonbleu = null;
parent::tearDownAfterClass();
}