Symfony\Component\Serializer\Normalizer\AbstractNormalizer::isAllowedAttribute PHP 메소드

isAllowedAttribute() 보호된 메소드

Is this attribute allowed?
protected isAllowedAttribute ( object | string $classOrObject, string $attribute, string | null $format = null, array $context = [] ) : boolean
$classOrObject object | string
$attribute string
$format string | null
$context array
리턴 boolean
    protected function isAllowedAttribute($classOrObject, $attribute, $format = null, array $context = array())
    {
        return !in_array($attribute, $this->ignoredAttributes);
    }