StreamingEngineInterface

StreamingEngineInterface

interface StreamingEngineInterface

StreamingEngineInterface provides a method that knows how to stream a template.

Methods

stream(string|TemplateReferenceInterface $name, array $parameters = array())

Streams a template.

Details

stream(string|TemplateReferenceInterface $name, array $parameters = array())

Streams a template.

The implementation should output the content directly to the client.