php8.5
Home/ Manual/ predefined / attribute/ Attribute::__construct

Attribute::__construct

PHP function Edit on GitHub ✎

(PHP 8)

Construct a new Attribute instance

Description

Attribute::__construct(int $flags = Attribute::TARGET_ALL)

Constructs a new Attribute instance.

Parameters

flags

Source: language/predefined/attribute/construct.xml · from the official PHP manual (php/doc-en)