Zend Expressive defaults to layout template when using Zend View. I note the addTemplate($template) function in PhpRenderer class but where and how to add an alternative template to layout?
In a middleware factory of an action, in the action itself, or somewhere else?