You are here

public function PropertyMetadata::getPropertyValue in Plug 7

Extracts the value of the property from the given container.

Parameters

mixed $containingValue The container to extract the property value from.:

Return value

mixed The value of the property.

Overrides PropertyMetadataInterface::getPropertyValue

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/PropertyMetadata.php, line 51

Class

PropertyMetadata
Stores all metadata needed for validating a class property.

Namespace

Symfony\Component\Validator\Mapping

Code

public function getPropertyValue($object) {
  return $this
    ->getReflectionMember($object)
    ->getValue($object);
}