本文整理汇总了PHP中Symfony\Component\Form\Test\TypeTestCase::tearDown方法的典型用法代码示例。如果您正苦于以下问题:PHP TypeTestCase::tearDown方法的具体用法?PHP TypeTestCase::tearDown怎么用?PHP TypeTestCase::tearDown使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Symfony\Component\Form\Test\TypeTestCase
的用法示例。
在下文中一共展示了TypeTestCase::tearDown方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tearDown
protected function tearDown()
{
$this->tokenManager = null;
$this->translator = null;
parent::tearDown();
}
示例2: tearDown
protected function tearDown()
{
parent::tearDown();
// 初期化
$this->app = null;
$this->form = null;
$this->formData = null;
}
示例3: tearDown
protected function tearDown()
{
$documentClasses = [Document::class, Category::class];
foreach ($documentClasses as $class) {
$this->dm->getDocumentCollection($class)->drop();
}
parent::tearDown();
}
示例4: tearDown
protected function tearDown()
{
$documentClasses = array('Doctrine\\Bundle\\MongoDBBundle\\Tests\\Fixtures\\Form\\Document', 'Doctrine\\Bundle\\MongoDBBundle\\Tests\\Fixtures\\Form\\Category', 'Doctrine\\Bundle\\MongoDBBundle\\Tests\\Fixtures\\Form\\Guesser');
foreach ($documentClasses as $class) {
$this->dm->getDocumentCollection($class)->drop();
}
parent::tearDown();
}
示例5: tearDown
protected function tearDown()
{
$documentClasses = array('Saxulum\\Tests\\DoctrineMongodbOdmManagerRegistry\\Document\\Document', 'Saxulum\\Tests\\DoctrineMongodbOdmManagerRegistry\\Document\\Category');
foreach ($documentClasses as $class) {
$this->dm->getDocumentCollection($class)->drop();
}
parent::tearDown();
}
开发者ID:saxulum,项目名称:saxulum-doctrine-mongodb-odm-manager-registry-provider,代码行数:8,代码来源:DocumentTypeTest.php
示例6: tearDown
protected function tearDown()
{
$this->validator = null;
parent::tearDown();
}
示例7: tearDown
protected function tearDown()
{
parent::tearDown();
$this->objectChoices = null;
}
示例8: tearDown
protected function tearDown()
{
parent::tearDown();
$this->extension = null;
}
示例9: tearDown
/**
* {@inheritdoc}
*/
public function tearDown()
{
parent::tearDown();
$this->extension = null;
}
示例10: tearDown
protected function tearDown()
{
parent::tearDown();
$this->em = null;
$this->emRegistry = null;
}
示例11: tearDown
protected function tearDown()
{
parent::tearDown();
$this->requestStack = null;
$this->router = null;
}
示例12: tearDown
public function tearDown()
{
parent::tearDown();
unset($this->formType);
}
示例13: tearDown
protected function tearDown()
{
parent::tearDown();
unset($this->formType);
}
示例14: tearDown
protected function tearDown()
{
$this->filter = null;
$this->autoFilter = true;
parent::tearDown();
}
示例15: tearDown
protected function tearDown()
{
$this->csrfProvider = null;
$this->translator = null;
parent::tearDown();
}