src/Terion/PackageInstaller/PackageInstallerServiceProvider.php
protected function bindInstallCommand()
    {
        $this->app['package.install'] = $this->app->share(function ($app) {
            return $app->make('Terion\PackageInstaller\PackageInstallCommand');
        });
        $this->app['package.process'] = $this->app->share(function ($app) {
            return $app->make('Terion\PackageInstaller\PackageProcessCommand');
        });
    }
protected function bindInstallCommand()
    {
        $this->app['package.install'] = $this->app->share(function ($app) {
            return $app->make('Terion\PackageInstaller\PackageInstallCommand');
        });
        $this->app['package.process'] = $this->app->share(function ($app) {
            return $app->make('Terion\PackageInstaller\PackageProcessCommand');
        });
    }
protected function bindInstallCommand ( ) { $ this -> app [ 'package.install' ] = $ this -> app -> share ( function ( $ app ) { return $ app -> make ( 'Terion\PackageInstaller\PackageInstallCommand' ) ; } ) ; $ this -> app [ 'package.process' ] = $ this -> app -> share ( function ( $ app ) { return $ app -> make ( 'Terion\PackageInstaller\PackageProcessCommand' ) ; } ) ; }
Bind command to IoC
Bind command to IoC