protected function GetterMetadata::newReflectionMember

Creates a new Reflection instance for the member

Parameters

object|string $objectOrClassName The object or the class name:

Return value

mixed Reflection class

Overrides MemberMetadata::newReflectionMember

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/GetterMetadata.php, line 53

Class

GetterMetadata

Namespace

Symfony\Component\Validator\Mapping

Code

protected function newReflectionMember($objectOrClassName) {
  return new \ReflectionMethod($objectOrClassName, $this
    ->getName());
}