TemplateIterator

class TemplateIterator implements IteratorAggregate

Iterator for all templates in bundles and in the application Resources directory.

Methods

__construct(KernelInterface $kernel, string $rootDir, array $paths = array())
getIterator()

{@inheritdoc}

Details

__construct(KernelInterface $kernel, string $rootDir, array $paths = array())

Parameters

KernelInterface $kernel A KernelInterface instance
string $rootDir The directory where global templates can be stored
array $paths Additional Twig paths to warm

getIterator()

{@inheritdoc}

doc_Symfony
2016-10-28 06:34:15
Comments
Leave a Comment

Please login to continue.