You are here

public function ClassMetadata::getConstrainedProperties in Plug 7

Returns the names of all constrained properties.

Return value

string[] A list of property names

Overrides ClassMetadataInterface::getConstrainedProperties

1 call to ClassMetadata::getConstrainedProperties()
ClassMetadata::accept in lib/Symfony/validator/Symfony/Component/Validator/Mapping/ClassMetadata.php

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/ClassMetadata.php, line 432

Class

ClassMetadata
Default implementation of {@link ClassMetadataInterface}.

Namespace

Symfony\Component\Validator\Mapping

Code

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