当前位置: 首页>>代码示例>>PHP>>正文


PHP TypeTestCase::tearDown方法代码示例

本文整理汇总了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();
    }
开发者ID:symfony,项目名称:symfony,代码行数:7,代码来源:FormTypeCsrfExtensionTest.php

示例2: tearDown

 protected function tearDown()
 {
     parent::tearDown();
     // 初期化
     $this->app = null;
     $this->form = null;
     $this->formData = null;
 }
开发者ID:noadless,项目名称:ec-cube,代码行数:8,代码来源:AbstractTypeTestCase.php

示例3: tearDown

 protected function tearDown()
 {
     $documentClasses = [Document::class, Category::class];
     foreach ($documentClasses as $class) {
         $this->dm->getDocumentCollection($class)->drop();
     }
     parent::tearDown();
 }
开发者ID:alcaeus,项目名称:DoctrineMongoDBBundle,代码行数:8,代码来源:DocumentTypeTest.php

示例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();
 }
开发者ID:roman-1983,项目名称:DoctrineMongoDBBundle,代码行数:8,代码来源:TypeGuesserTest.php

示例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();
 }
开发者ID:Ener-Getick,项目名称:symfony,代码行数:5,代码来源:TypeTestCase.php

示例7: tearDown

 protected function tearDown()
 {
     parent::tearDown();
     $this->objectChoices = null;
 }
开发者ID:VincentMardon,项目名称:Links_list,代码行数:5,代码来源:ChoiceTypeTest.php

示例8: tearDown

 protected function tearDown()
 {
     parent::tearDown();
     $this->extension = null;
 }
开发者ID:cristianoc72,项目名称:icon-button,代码行数:5,代码来源:IconButtonExtensionTestCase.php

示例9: tearDown

 /**
  * {@inheritdoc}
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->extension = null;
 }
开发者ID:vincenttouzet,项目名称:SonataAdminBundle,代码行数:8,代码来源:BaseWidgetTest.php

示例10: tearDown

 protected function tearDown()
 {
     parent::tearDown();
     $this->em = null;
     $this->emRegistry = null;
 }
开发者ID:ABaldwinHunter,项目名称:symfony-clone,代码行数:6,代码来源:EntityTypeTest.php

示例11: tearDown

 protected function tearDown()
 {
     parent::tearDown();
     $this->requestStack = null;
     $this->router = null;
 }
开发者ID:mcdir,项目名称:SonatraFormExtensionsBundle,代码行数:6,代码来源:AbstractSelect2TypeExtensionTest.php

示例12: tearDown

 public function tearDown()
 {
     parent::tearDown();
     unset($this->formType);
 }
开发者ID:qrz-io,项目名称:pim-community-dev,代码行数:5,代码来源:FormFieldTypeTest.php

示例13: tearDown

 protected function tearDown()
 {
     parent::tearDown();
     unset($this->formType);
 }
开发者ID:ramunasd,项目名称:platform,代码行数:5,代码来源:FormFieldTypeTest.php

示例14: tearDown

 protected function tearDown()
 {
     $this->filter = null;
     $this->autoFilter = true;
     parent::tearDown();
 }
开发者ID:rdohms,项目名称:dms-filter-bundle,代码行数:6,代码来源:FormTypeFilterExtensionTest.php

示例15: tearDown

 protected function tearDown()
 {
     $this->csrfProvider = null;
     $this->translator = null;
     parent::tearDown();
 }
开发者ID:d3ancole1995,项目名称:symfony,代码行数:6,代码来源:FormTypeCsrfExtensionTest.php


注:本文中的Symfony\Component\Form\Test\TypeTestCase::tearDown方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。