You are here

protected function Collection::getCompositeOption in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Constraints/Collection.php \Symfony\Component\Validator\Constraints\Collection::getCompositeOption()

Returns the name of the property that contains the nested constraints.

Return value

string The property name

Overrides Composite::getCompositeOption

File

vendor/symfony/validator/Constraints/Collection.php, line 81

Class

Collection
@Target({"PROPERTY", "METHOD", "ANNOTATION"})

Namespace

Symfony\Component\Validator\Constraints

Code

protected function getCompositeOption() {
  return 'fields';
}