Automattic\WooCommerce\Vendor\Symfony\Polyfill\Php80
PhpToken::__construct
Method of the class: PhpToken{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PhpToken = new PhpToken(); $PhpToken->__construct( $id, $text, $line, $position );
- $id(int) (required)
- .
- $text(string) (required)
- .
- $line(-1|positive-int)
- .
Default:-1 - $position(int)
- .
Default:-1
PhpToken::__construct() PhpToken:: construct code WC 10.5.0
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;
}