public function Twig_Token::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/Token.php \Twig_Token::__construct()
Constructor.
Parameters
int $type The type of the token:
string $value The token value:
int $lineno The line position in the source:
File
- vendor/
twig/ twig/ lib/ Twig/ Token.php, line 45
Class
- Twig_Token
- Represents a Token.
Code
public function __construct($type, $value, $lineno) {
$this->type = $type;
$this->value = $value;
$this->lineno = $lineno;
}