本文整理匯總了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();
}