abstract protected function MemberMetadata::newReflectionMember in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Mapping/MemberMetadata.php \Symfony\Component\Validator\Mapping\MemberMetadata::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
1 call to MemberMetadata::newReflectionMember()
- MemberMetadata::getReflectionMember in vendor/
symfony/ validator/ Mapping/ MemberMetadata.php - Returns the reflection instance for accessing the member's value.
3 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.
- TestMemberMetadata::newReflectionMember in vendor/
symfony/ validator/ Tests/ Mapping/ MemberMetadataTest.php - Creates a new reflection instance for accessing the member's value.
File
- vendor/
symfony/ validator/ Mapping/ MemberMetadata.php, line 258
Class
- MemberMetadata
- Stores all metadata needed for validating a class property.
Namespace
Symfony\Component\Validator\MappingCode
protected abstract function newReflectionMember($objectOrClassName);