/home/techb158/ileadtechnology.com/vendor/laravel/framework/src/Illuminate/Support
NameSizeModeActions
Facades/-0755rm
Testing/-0755rm
Traits/-0755rm
AggregateServiceProvider.php9950644editdlrm
Arr.php160750755editdlrm
Carbon.php1150644editdlrm
Collection.php325900644editdlrm
composer.json15450644editdlrm
Composer.php23900644editdlrm
ConfigurationUrlParser.php43890644editdlrm
DateFactory.php80220644editdlrm
Enumerable.php220740644editdlrm
Env.php26930644editdlrm
Fluent.php38790755editdlrm
helpers.php135340755editdlrm
HigherOrderCollectionProxy.php14080644editdlrm
HigherOrderTapProxy.php6650644editdlrm
HigherOrderWhenProxy.php13070644editdlrm
HtmlString.php8770644editdlrm
InteractsWithTime.php15880644editdlrm
LazyCollection.php333220644editdlrm
LICENSE.md10750644editdlrm
Manager.php40760755editdlrm
MessageBag.php97500755editdlrm
NamespacedItemResolver.php32690755editdlrm
Optional.php26410644editdlrm
Pluralizer.php32070755editdlrm
ProcessUtils.php20500644editdlrm
Reflector.php26720644editdlrm
ServiceProvider.php95180755editdlrm
Str.php194140644editdlrm
Stringable.php163360644editdlrm
ViewErrorBag.php26220644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/laravel/framework/src/Illuminate/Support/Manager.php (4076B)
app = $container; $this->container = $container; $this->config = $container->make('config'); } /** * Get the default driver name. * * @return string */ abstract public function getDefaultDriver(); /** * Get a driver instance. * * @param string|null $driver * @return mixed * * @throws \InvalidArgumentException */ public function driver($driver = null) { $driver = $driver ?: $this->getDefaultDriver(); if (is_null($driver)) { throw new InvalidArgumentException(sprintf( 'Unable to resolve NULL driver for [%s].', static::class )); } // If the given driver has not been created before, we will create the instances // here and cache it so we can return it next time very quickly. If there is // already a driver created by this name, we'll just return that instance. if (! isset($this->drivers[$driver])) { $this->drivers[$driver] = $this->createDriver($driver); } return $this->drivers[$driver]; } /** * Create a new driver instance. * * @param string $driver * @return mixed * * @throws \InvalidArgumentException */ protected function createDriver($driver) { // First, we will determine if a custom driver creator exists for the given driver and // if it does not we will check for a creator method for the driver. Custom creator // callbacks allow developers to build their own "drivers" easily using Closures. if (isset($this->customCreators[$driver])) { return $this->callCustomCreator($driver); } else { $method = 'create'.Str::studly($driver).'Driver'; if (method_exists($this, $method)) { return $this->$method(); } } throw new InvalidArgumentException("Driver [$driver] not supported."); } /** * Call a custom driver creator. * * @param string $driver * @return mixed */ protected function callCustomCreator($driver) { return $this->customCreators[$driver]($this->container); } /** * Register a custom driver creator Closure. * * @param string $driver * @param \Closure $callback * @return $this */ public function extend($driver, Closure $callback) { $this->customCreators[$driver] = $callback; return $this; } /** * Get all of the created "drivers". * * @return array */ public function getDrivers() { return $this->drivers; } /** * Dynamically call the default driver instance. * * @param string $method * @param array $parameters * @return mixed */ public function __call($method, $parameters) { return $this->driver()->$method(...$parameters); } }