Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GetterMetadata.php

function GetterMetadata::getPropertyValue

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(mixed $object) : mixed {
    return $this->newReflectionMember($object)
        ->invoke($object);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal