use Twig\TwigFilter;
use Twig\TwigFunction;
use Twig\TwigTest;
#[Package('core')]
class PhpSyntaxExtension extends AbstractExtension
{ public function getTokenParsers(): array
{ return [ new ForeachTokenParser(),
new BreakTokenParser(),
new ContinueTokenParser(),
new ReturnNodeTokenParser(),
];
} /**
* @return TwigFilter[]
*/
public function getFilters() { return [