You are here

abstract protected function MemberMetadata::newReflectionMember in Plug 7

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 lib/Symfony/validator/Symfony/Component/Validator/Mapping/MemberMetadata.php
Returns the reflection instance for accessing the member's value.
3 methods override MemberMetadata::newReflectionMember()
GetterMetadata::newReflectionMember in lib/Symfony/validator/Symfony/Component/Validator/Mapping/GetterMetadata.php
Creates a new reflection instance for accessing the member's value.
PropertyMetadata::newReflectionMember in lib/Symfony/validator/Symfony/Component/Validator/Mapping/PropertyMetadata.php
Creates a new reflection instance for accessing the member's value.
TestMemberMetadata::newReflectionMember in lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/MemberMetadataTest.php
Creates a new reflection instance for accessing the member's value.

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/MemberMetadata.php, line 250

Class

MemberMetadata
Stores all metadata needed for validating a class property.

Namespace

Symfony\Component\Validator\Mapping

Code

protected abstract function newReflectionMember($objectOrClassName);