src/Foundation/Providers/Traits/RegistersBindingsAndDependencies.php
/**
     * Register singletons.
     *
     * @param array $singletons
     */
Register singletons.
@param array $singletons
Register singletons . @param array $singletons
public function registerSingletons(array $singletons)
    {
        foreach ($singletons as $abstract => $concrete) {
            $this->app->instance($abstract, $concrete);
        }
    }
public function registerSingletons ( array $ singletons ) { foreach ( $ singletons as $ abstract => $ concrete ) { $ this -> app -> instance ( $ abstract , $ concrete ) ; } }
Register singletons.
Register singletons .