public function register()
    {
        $this->app->bind('responder', function($app) {
            return $app->make(ResponderFactory::class);
        });

        // Add route action macro
        $router = $this->app->make('router');

        if(! $router->hasMacro('action')) {
            $this->registerActionMacro();
        }
    }
public function register()
    {
        $this->app->bind('responder', function($app) {
            return $app->make(ResponderFactory::class);
        });

        // Add route action macro
        $router = $this->app->make('router');

        if(! $router->hasMacro('action')) {
            $this->registerActionMacro();
        }
    }
public function register ( ) { $ this -> app -> bind ( 'responder' , function ( $ app ) { return $ app -> make ( ResponderFactory :: class ) ; } ) ; // Add route action macro $ router = $ this -> app -> make ( 'router' ) ; if ( ! $ router -> hasMacro ( 'action' ) ) { $ this -> registerActionMacro ( ) ; } }
Register package services

@return void
Register package services