\Phug\PartialTokenGeneratorTrait

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
getTokenGenerator()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

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

Returns

\Phug\Partial\iterable