ReflectionAttribute::getTarget

(PHP 8)

ReflectionAttribute::getTargetReturns the target of the attribute as bitmask

Description

public ReflectionAttribute::getTarget(): int

Gets target of the attribute as bitmask.

Parameters

This function has no parameters.

Return Values

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top