src/Traits/BindIlluminate.php
public function ensureIlluminateBase(Container $app = null)
    {
        if (! $app->bound('events')) {
            $app->singleton('events', $this->illuminateClasses['events']);
            $app['events']->fire('booting');
        }

        if (! $app->bound('files')) {
            $app->bindIf('files', $this->illuminateClasses['files']);
        }
    }
public function ensureIlluminateBase(Container $app = null)
    {
        if (! $app->bound('events')) {
            $app->singleton('events', $this->illuminateClasses['events']);
            $app['events']->fire('booting');
        }

        if (! $app->bound('files')) {
            $app->bindIf('files', $this->illuminateClasses['files']);
        }
    }
public function ensureIlluminateBase ( Container $ app = null ) { if ( ! $ app -> bound ( 'events' ) ) { $ app -> singleton ( 'events' , $ this -> illuminateClasses [ 'events' ] ) ; $ app [ 'events' ] -> fire ( 'booting' ) ; } if ( ! $ app -> bound ( 'files' ) ) { $ app -> bindIf ( 'files' , $ this -> illuminateClasses [ 'files' ] ) ; } }
Ensure the base event and file bindings are present. Required for binding anything else.

@param  Container  $app
@return void
Ensure the base event and file bindings are present . Required for binding anything else .