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.

Parameters

登录查看完整内容