postBuildRequestTree

This method is called after the page request tree has been built. At this stage you know which page has been requested, and you can retrieve details about the requested page in the $pageRequestTree variable passed to this method.

Note

If Recite was unable to build the page request tree (typically due to the user requesting an invalid URL), then this method is never executed, since Recite will bypass straight to the built-in error handler.

Instead, the handleBootException() method of each render hook will be called. This allows you to still process invalid requests if required.