We're aliasing namespaces so it's not entirely obvious where one might find this class.
If you look in
anchor/config/aliases.php you'll find
'Route' => 'System\\Route' which indicates that the
Route class is actually
The methods we use to build up the routes don't actually exist. We're using the PHP magic method
__callStatic which is run anytime we call a non-existing static method on the class. This in turn calls the static method
register which IS defined in that class!
Most of the internals of Anchor is in the
system folder. Actual logic & database handling is in the
Does this make sense?