getTokenGenerator()
getTokenGenerator(array<mixed,callable> $callbacks, \Phug\Partial\iterable $tokens) : \Phug\Partial\iterable
Get a iterable list of output tokens from a list of interceptors and input tokens.
Parameters
array<mixed,callable> | $callbacks | list of callable interceptors |
\Phug\Partial\iterable | $tokens | input tokens |
Throws
- \Exception
- \ReflectionException