Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Parser

Token::__constructpublicWC 1.0

Метод класса: Token{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Token = new Token();
$Token->__construct( ?string $type, ?string $value, ?int $position );
?string $type(обязательный)
.
?string $value(обязательный)
.
?int $position(обязательный)
.

Код Token::__construct() WC 10.5.0

public function __construct(?string $type, ?string $value, ?int $position)
{
    $this->type = $type;
    $this->value = $value;
    $this->position = $position;
}