php / 8.1.5 / reflectionattribute.gettarget.html /

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.

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

Gets target of the attribute as bitmask.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionattribute.gettarget.php