public function ClassMetadata::getConstrainedProperties

Returns all properties for which constraints are defined.

Return value

array An array of property names

1 call to ClassMetadata::getConstrainedProperties()
ClassMetadata::accept in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/ClassMetadata.php
Implementation of the Visitor design pattern.

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/ClassMetadata.php, line 325

Class

ClassMetadata
Represents all the configured constraints on a given class.

Namespace

Symfony\Component\Validator\Mapping

Code

public function getConstrainedProperties() {
  return array_keys($this->members);
}