src/Component.php
public function enable()
    {
        $this->app['events']->fire('component.enabling', [$this]);

        $this->setActive(1);

        $this->app['events']->fire('component.enabled', [$this]);
    }
public function enable()
    {
        $this->app['events']->fire('component.enabling', [$this]);

        $this->setActive(1);

        $this->app['events']->fire('component.enabled', [$this]);
    }
public function enable ( ) { $ this -> app [ 'events' ] -> fire ( 'component.enabling' , [ $ this ] ) ; $ this -> setActive ( 1 ) ; $ this -> app [ 'events' ] -> fire ( 'component.enabled' , [ $ this ] ) ; }
Enable the current component.
Enable the current component .