Attribute::__construct
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() Attribute:: construct code WC 10.4.3
public function __construct(int $flags = self::TARGET_ALL)
{
$this->flags = $flags;
}