Automattic\WooCommerce\EmailEditorVendor\Symfony\Component\CssSelector\Node
AttributeNode::__construct
Метод класса: AttributeNode{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$AttributeNode = new AttributeNode(); $AttributeNode->__construct( $selector, ?string $namespace, $attribute, $operator, ?string $value );
- $selector(NodeInterface) (обязательный)
- .
- ?string $namespace(обязательный)
- .
- $attribute(строка) (обязательный)
- .
- $operator(строка) (обязательный)
- .
- ?string $value(обязательный)
- .
Код AttributeNode::__construct() AttributeNode:: construct WC 11.2.2
public function __construct(NodeInterface $selector, ?string $namespace, string $attribute, string $operator, ?string $value)
{
$this->selector = $selector;
$this->namespace = $namespace;
$this->attribute = $attribute;
$this->operator = $operator;
$this->value = $value;
}