/home/techb158/ileadtechnology.com/SSM/vendor/laravel/framework/src/Illuminate/Support
NameSizeModeActions
Facades/-0755rm
Testing/-0755rm
Traits/-0755rm
AggregateServiceProvider.php9950644editdlrm
Arr.php160770644editdlrm
Carbon.php1150644editdlrm
Collection.php317930644editdlrm
composer.json15350644editdlrm
Composer.php23900644editdlrm
ConfigurationUrlParser.php42740644editdlrm
DateFactory.php80220644editdlrm
Enumerable.php220740644editdlrm
Env.php26930644editdlrm
Fluent.php38790644editdlrm
helpers.php132920644editdlrm
HigherOrderCollectionProxy.php14080644editdlrm
HigherOrderTapProxy.php6650644editdlrm
HigherOrderWhenProxy.php13070644editdlrm
HtmlString.php8770644editdlrm
InteractsWithTime.php15880644editdlrm
LazyCollection.php316300644editdlrm
LICENSE.md10750644editdlrm
Manager.php40760644editdlrm
MessageBag.php94130644editdlrm
NamespacedItemResolver.php32690644editdlrm
Optional.php26410644editdlrm
Pluralizer.php24870644editdlrm
ProcessUtils.php20500644editdlrm
ServiceProvider.php94540644editdlrm
Str.php183660644editdlrm
Stringable.php145650644editdlrm
ViewErrorBag.php26220644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/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); } }