You are here

public function GetterMetadata::getPropertyValue in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Mapping/GetterMetadata.php \Symfony\Component\Validator\Mapping\GetterMetadata::getPropertyValue()

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

vendor/symfony/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);
}