array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'reflectionattribute.gettarget.php', 1 => 'ReflectionAttribute::getTarget', 2 => 'Returns the target of the attribute as bitmask', ), 'up' => array ( 0 => 'class.reflectionattribute.php', 1 => 'ReflectionAttribute', ), 'prev' => array ( 0 => 'reflectionattribute.getname.php', 1 => 'ReflectionAttribute::getName', ), 'next' => array ( 0 => 'reflectionattribute.isrepeated.php', 1 => 'ReflectionAttribute::isRepeated', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/reflection/reflectionattribute/gettarget.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ReflectionAttribute::getTarget

(PHP 8)

ReflectionAttribute::getTargetReturns the target of the attribute as bitmask

Descrizione

public ReflectionAttribute::getTarget(): int

Gets target of the attribute as bitmask.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

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