Voici un super article concernant le fonctionnement des Facade en Laravel.
It’s obvious how we got the welcome view, but you’re curious about how Laravel’s router works, so you decide to dive into the code. The initial assumption is: There’s a
Route
class on which we’re calling a static methodget()
. However, upon clicking it, there is noget()
method there. So, what kind of dark magic is happening? Let’s demystify this!