Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer::getAttributeValue PHP Method

getAttributeValue() abstract protected method

Gets the attribute value.
abstract protected getAttributeValue ( object $object, string $attribute, string | null $format = null, array $context = [] ) : mixed
$object object
$attribute string
$format string | null
$context array
return mixed
    protected abstract function getAttributeValue($object, $attribute, $format = null, array $context = array());