Skip to content

Mode Map Stale Reference

scil edited this page Dec 1, 2018 · 6 revisions

All of Safety Checklist

Mode Map Stale Reference

item new instance Container Facade other objects service providers middlewares controllers
request $this->
createLaravelRequest($request)

$this->app->instance('request', $request);

clean_Facade_on_work

1. url.request: RoutingServiceProvider::requestRebinder
- - -
url clone $this->make('url'))
$this->instance('url', clone $this->make('url'));

Facade::
clearResolvedInstance('url');
- - - -
routes clone static::
$corDict[WORKER_COROUTINE_ID]['routes'];
(when !LARAVELFLY_SERVICES['routes'])

$this->container->instance('routes', $newRoutes);
-
1. router.routes: static::$corDict[$cid]['routes'] = $newRoutes;
2. url.routes: $app['url']->setRoutes($routes);
- - -
drivers in hash $this->drivers[$name] =
clone $drive;
(when !LARAVELFLY_SERVICES['hash'])
- - - - - -