| 1 | <?php |
||
| 15 | final class GenericVariableProviderRegistry implements VariableProviderRegistry |
||
| 16 | { |
||
| 17 | /** @var \eZ\Publish\SPI\MVC\View\VariableProvider[] */ |
||
| 18 | private $twigVariableProviders; |
||
| 19 | |||
| 20 | public function __construct(Traversable $twigVariableProviders) |
||
| 26 | |||
| 27 | public function setTwigVariableProvider(VariableProvider $twigVariableProvider): void |
||
| 31 | |||
| 32 | public function getTwigVariableProvider(string $identifier): VariableProvider |
||
| 40 | |||
| 41 | public function hasTwigVariableProvider(string $identifier): bool |
||
| 45 | } |
||
| 46 |