src/Consolet/Application.php
public static function prepareContainer(Container $container)
    {
        if ( ! isset($container['config'])) {
            $container['config'] = [];
        }
        if ( ! isset($container['files'])) {
            $container['files'] = new Filesystem();
        }
        if ( ! isset($container['providers'])) {
            $container['providers'] = [];
        }
        $providers = $container['providers'];
        $providers[] = 'Consolet\DefaultCommandsProvider';
        $container['providers'] = $providers;
        return $container;
    }
public static function prepareContainer(Container $container)
    {
        if ( ! isset($container['config'])) {
            $container['config'] = [];
        }
        if ( ! isset($container['files'])) {
            $container['files'] = new Filesystem();
        }
        if ( ! isset($container['providers'])) {
            $container['providers'] = [];
        }
        $providers = $container['providers'];
        $providers[] = 'Consolet\DefaultCommandsProvider';
        $container['providers'] = $providers;
        return $container;
    }
public static function prepareContainer ( Container $ container ) { if ( ! isset ( $ container [ 'config' ] ) ) { $ container [ 'config' ] = [ ] ; } if ( ! isset ( $ container [ 'files' ] ) ) { $ container [ 'files' ] = new Filesystem ( ) ; } if ( ! isset ( $ container [ 'providers' ] ) ) { $ container [ 'providers' ] = [ ] ; } $ providers = $ container [ 'providers' ] ; $ providers [ ] = 'Consolet\DefaultCommandsProvider' ; $ container [ 'providers' ] = $ providers ; return $ container ; }
prepare default dependencies

@param Container $container
@return Container
prepare default dependencies