You are here

public function GetterMetadata::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/GetterMetadata.php, line 65

Class

GetterMetadata
Stores all metadata needed for validating a class property via its getter method.

Namespace

Symfony\Component\Validator\Mapping

Code

public function getPropertyValue($object) {
  return $this
    ->newReflectionMember($object)
    ->invoke($object);
}