protected function GetterMetadata::newReflectionMember in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Mapping/GetterMetadata.php \Symfony\Component\Validator\Mapping\GetterMetadata::newReflectionMember()
Creates a new reflection instance for accessing the member's value.
Must be implemented by subclasses.
Parameters
object|string $objectOrClassName The object or the class name:
Return value
\ReflectionMethod|\ReflectionProperty The reflection instance
Overrides MemberMetadata::newReflectionMember
File
- vendor/
symfony/ validator/ Mapping/ GetterMetadata.php, line 73
Class
- GetterMetadata
- Stores all metadata needed for validating a class property via its getter method.
Namespace
Symfony\Component\Validator\MappingCode
protected function newReflectionMember($objectOrClassName) {
return new \ReflectionMethod($objectOrClassName, $this
->getName());
}