Symfony\Component\DomCrawler\Field\ChoiceFormField::addChoice
Adds a choice to the current ones.
This method should only be used internally.
Signature
public function addChoice(DOMNode
$node )
Parameters
$node
— \DOMNode- A \DOMNode
Errors/Exceptions
-
LogicException
- When choice provided is not multiple nor radio