/** * Clear the cached facade instance. * * @return void */ protected function clearCachedFacadeInstance() { // Facades cache the resolved instance so we need to clear out the // request instance that may have been cached. Otherwise we'll // may get unexpected results. RequestFacade::clearResolvedInstance('request'); }