/** * If you need more granular control over this process, use the afterCall callback function of the PicoraController. * @param callback $callback The callback function that will be called when a GET or POST request renders a response. * @return void */ public static function setLayoutHandler($callback) { self::$layout_handler = $callback; }