Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 779e8ed

Browse filesBrowse files
feature #24232 [Bridge\Doctrine] Add "DoctrineType::reset()" method (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [Bridge\Doctrine] Add "DoctrineType::reset()" method | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #23984 | License | MIT | Doc PR | - Works with doctrine/DoctrineBundle#695 Commits ------- dce1eb9 [Bridge\Doctrine] Add "DoctrineType::reset()" method
2 parents 0e73d71 + dce1eb9 commit 779e8ed
Copy full SHA for 779e8ed

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,4 +280,9 @@ public function getParent()
280280
{
281281
return 'Symfony\Component\Form\Extension\Core\Type\ChoiceType';
282282
}
283+
284+
public function reset()
285+
{
286+
$this->choiceLoaders = array();
287+
}
283288
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.