public function Parser::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/yaml/Parser.php \Symfony\Component\Yaml\Parser::__construct()
- 8 vendor/symfony/css-selector/Parser/Parser.php \Symfony\Component\CssSelector\Parser\Parser::__construct()
- 8 vendor/egulias/email-validator/src/Egulias/EmailValidator/Parser/Parser.php \Egulias\EmailValidator\Parser\Parser::__construct()
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Parser/Parser.php \Symfony\Component\CssSelector\Parser\Parser::__construct()
Constructor.
Parameters
null|Tokenizer $tokenizer:
File
- vendor/
symfony/ css-selector/ Parser/ Parser.php, line 38
Class
- Parser
- CSS selector parser.
Namespace
Symfony\Component\CssSelector\ParserCode
public function __construct(Tokenizer $tokenizer = null) {
$this->tokenizer = $tokenizer ?: new Tokenizer();
}