SqlParser\Token::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( string $token, integer $type, integer $flags )
$token string The value of the token.
$type integer The type of the token.
$flags integer The flags of the token.
    public function __construct($token, $type = 0, $flags = 0)
    {
        $this->token = $token;
        $this->type = $type;
        $this->flags = $flags;
        $this->value = $this->extract();
    }