public function boot()
    {
        // Loop the providers and register commands
        $providers = $this->container->providers(false);

        foreach ($providers as $provider) {
            if (method_exists($provider, 'commands')) {
                $this->registerCommands($provider->commands());
            }
        }
    }
public function boot()
    {
        // Loop the providers and register commands
        $providers = $this->container->providers(false);

        foreach ($providers as $provider) {
            if (method_exists($provider, 'commands')) {
                $this->registerCommands($provider->commands());
            }
        }
    }
public function boot ( ) { // Loop the providers and register commands $ providers = $ this -> container -> providers ( false ) ; foreach ( $ providers as $ provider ) { if ( method_exists ( $ provider , 'commands' ) ) { $ this -> registerCommands ( $ provider -> commands ( ) ) ; } } }
Register service provider commands on boot.

@return void
Register service provider commands on boot .