Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ReflectionAttribute::getNameReflectionAttribute::isRepeated>
^ReflectionAttributeLast updated: Mon, 26 Oct 2026

ReflectionAttribute::getTarget

(PHP 8)

ReflectionAttribute::getTarget — Returns the target of the attribute as bitmask

Description

public function 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.


<ReflectionAttribute::getNameReflectionAttribute::isRepeated>
^ReflectionAttributeLast updated: Mon, 26 Oct 2026