0

I have done a lot of digging and cannot seem to see where or how the $app property is set in Illuminate\Support\Facades\Facade

I am aware all Facades are set in config/app.php and auto loaded using the Illuminate\Foundation\AliasLoader however i can see the auto load and class_alias, I however cannot see where the main $app is passed or injected?

tmkiernan
  • 375
  • 1
  • 16

1 Answers1

0

Found it there is a setFacadeApplication( $app ) method which is set on the initialization of the Laravel App.

tmkiernan
  • 375
  • 1
  • 16