Attribute::__constructpublicWC 1.0

Method of the class: Attribute{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Attribute = new Attribute();
$Attribute->__construct( $flags );
$flags(int)
.
Default: self::TARGET_ALL

Attribute::__construct() code WC 10.4.3

public function __construct(int $flags = self::TARGET_ALL)
{
    $this->flags = $flags;
}