當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。