ReflectionAttribute::getTarget

(PHP 8)

ReflectionAttribute::getTargetReturns the target of the attribute as bitmask

Descripción

public ReflectionAttribute::getTarget(): int

Gets target of the attribute as bitmask.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Gets target of the attribute as bitmask of Attribute::TARGET_* constants.