LayoutResolutionController
extends z_controller
in package
Exercises the layout resolution chain from Resolver\DefaultLayout: explicit arg > instance default > global default > framework default
The branches below the explicit argument are unit tested; this controller keeps the one that needs a rendered page: the explicit render() argument beats both defaults. Cypress inspects the response body for the matching layout marker.
Table of Contents
- action_explicitwins() : mixed
Methods
action_explicitwins()
public
action_explicitwins(Request $req, Response $res) : mixed
Parameters
- $req : Request
- $res : Response