src/Providers/AbstractProvider.php
public function register()
    {
        $bindings = $this->bindings();
        count($bindings) > 0 && App::bind($bindings);

        $providers = $this->providers();
        count($providers) > 0 && App::register($providers);

        $config = $this->config();
        count($config) > 0 && Config::push($config);

        $subscribers = $this->subscribers();
        count($subscribers) > 0 && Event::register($subscribers);

        $this->routes();
    }
public function register()
    {
        $bindings = $this->bindings();
        count($bindings) > 0 && App::bind($bindings);

        $providers = $this->providers();
        count($providers) > 0 && App::register($providers);

        $config = $this->config();
        count($config) > 0 && Config::push($config);

        $subscribers = $this->subscribers();
        count($subscribers) > 0 && Event::register($subscribers);

        $this->routes();
    }
public function register ( ) { $ bindings = $ this -> bindings ( ) ; count ( $ bindings ) > 0 && App :: bind ( $ bindings ) ; $ providers = $ this -> providers ( ) ; count ( $ providers ) > 0 && App :: register ( $ providers ) ; $ config = $ this -> config ( ) ; count ( $ config ) > 0 && Config :: push ( $ config ) ; $ subscribers = $ this -> subscribers ( ) ; count ( $ subscribers ) > 0 && Event :: register ( $ subscribers ) ; $ this -> routes ( ) ; }
Called after pushing a service provider to the container
Called after pushing a service provider to the container