mardi 25 décembre 2018

Laravel - Get value instances via facades

In Illuminate\Support\Facades\Facade abstract when laravel resolveFacadeInstance by static::$app[$name]. But static::$app is an instance of Application.

How laravel do that like access value of array, i think it should static::$app['instances'][$name] ? What technique here?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire