ProbeController final readonly class
Minn\Front\ProbeController · public/minn/src/Minn/Front/ProbeController.php · 68 lines
The surface monitors, crawlers, and hosting checks hit that is not a page: robots.txt, the XML-RPC and cron endpoints, the admin entry point, and the favicon. Feeds and sitemaps have controllers of their own.
Constants and properties
| private | readonly Minn\Content\Site $site | Promoted from the constructor. |
| private | readonly Minn\Front\Permalinks $permalinks | Promoted from the constructor. |
| private | readonly Minn\Content\SiteIcon $icon | Promoted from the constructor. |
| private | readonly ?Minn\Cron\Cron $cron | Promoted from the constructor. |
| private | readonly ?Minn\Theme\MainQueryBridge $bridge | Promoted from the constructor. |
Public
| new | __construct(Minn\Content\Site $site, Minn\Front\Permalinks $permalinks, Minn\Content\SiteIcon $icon, ?Minn\Cron\Cron $cron = NULL, ?Minn\Theme\MainQueryBridge $bridge = NULL)# | |
| method | robots(Minn\Http\Request $request): Minn\Http\ResponseGET /robots.txt (public)# | robots.txt: with plugins loaded, the reference's (the main query a robots request, then do_robots, under do_robotstxt and robots_txt); otherwise the same lines, the sitemap's only on a public site. |
| method | xmlrpc(Minn\Http\Request $request): Minn\Http\Response* /xmlrpc.php (public)# | XML-RPC is not served; GET answers the way the reference does, POST is refused outright. |
| method | cron(Minn\Http\Request $request): Minn\Http\Response* /wp-cron.php (public)# | wp-cron.php: runs what is due. |
| method | admin(Minn\Http\Request $request): Minn\Http\ResponseGET /wp-admin (public)GET /wp-admin/{rest*} (public)# | The admin is Minn Admin; the reference's admin path lands there. |
| method | favicon(Minn\Http\Request $request): Minn\Http\ResponseGET /favicon.ico (public)# | The site icon, or the reference's default. |
Nothing matches.