public function boot()
    {
        $this->publishes([
            implode(DIRECTORY_SEPARATOR, [__DIR__, 'config', 'api.php']) => config_path('api.php')
        ]);

        $this->setupRoutes($this->app->router);
    }
public function boot()
    {
        $this->publishes([
            implode(DIRECTORY_SEPARATOR, [__DIR__, 'config', 'api.php']) => config_path('api.php')
        ]);

        $this->setupRoutes($this->app->router);
    }
public function boot ( ) { $ this -> publishes ( [ implode ( DIRECTORY_SEPARATOR , [ __DIR__ , 'config' , 'api.php' ] ) => config_path ( 'api.php' ) ] ) ; $ this -> setupRoutes ( $ this -> app -> router ) ; }
Initialises the service provider.
Initialises the service provider .