public function Twig_Parser::getCurrentToken in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/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/ Parser.php
File
- vendor/
Twig/ Parser.php, line 353
Class
- Twig_Parser
- Default parser implementation.
Code
public function getCurrentToken() {
return $this->stream
->getCurrent();
}