Automattic\WooCommerce\Vendor\Symfony\Polyfill\Php80
PhpToken::__construct
Метод класса: PhpToken{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$PhpToken = new PhpToken(); $PhpToken->__construct( $id, $text, $line, $position );
- $id(int) (обязательный)
- .
- $text(строка) (обязательный)
- .
- $line(-1|positive-int)
- .
По умолчанию:-1 - $position(int)
- .
По умолчанию:-1
Код PhpToken::__construct() PhpToken:: construct WC 11.0.1
public function __construct(int $id, string $text, int $line = -1, int $position = -1)
{
$this->id = $id;
$this->text = $text;
$this->line = $line;
$this->pos = $position;
}