/** * Fetches any set reroute message from the current route. * * @return string */ public static function getRerouteMessage() { if (isset(self::$current_route)) { return self::$current_route->getRerouteMessage(); } return ''; }