public function Twig_Parser::getCurrentToken in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Parser.php \Twig_Parser::getCurrentToken()
Gets the current token.
Return value
Twig_Token The current token
1 call to Twig_Parser::getCurrentToken()
- Twig_Parser::subparse in vendor/
twig/ twig/ lib/ Twig/ Parser.php
File
- vendor/
twig/ twig/ lib/ Twig/ Parser.php, line 357
Class
- Twig_Parser
- Default parser implementation.
Code
public function getCurrentToken() {
return $this->stream
->getCurrent();
}