function MemberMetadata::newReflectionMember
Creates a new reflection instance for accessing the member's value.
1 call to MemberMetadata::newReflectionMember()
- MemberMetadata::getReflectionMember in vendor/
symfony/ validator/ Mapping/ MemberMetadata.php - Returns the reflection instance for accessing the member's value.
2 methods override MemberMetadata::newReflectionMember()
- GetterMetadata::newReflectionMember in vendor/
symfony/ validator/ Mapping/ GetterMetadata.php - Creates a new reflection instance for accessing the member's value.
- PropertyMetadata::newReflectionMember in vendor/
symfony/ validator/ Mapping/ PropertyMetadata.php - Creates a new reflection instance for accessing the member's value.
File
-
vendor/
symfony/ validator/ Mapping/ MemberMetadata.php, line 146
Class
- MemberMetadata
- Stores all metadata needed for validating a class property.
Namespace
Symfony\Component\Validator\MappingCode
protected abstract function newReflectionMember(object|string $objectOrClassName) : \ReflectionMethod|\ReflectionProperty;