Flarum\Admin\AdminServiceProvider::register PHP 메소드

register() 공개 메소드

public register ( )
    public function register()
    {
        $this->app->singleton(UrlGenerator::class, function () {
            return new UrlGenerator($this->app, $this->app->make('flarum.admin.routes'));
        });
        $this->app->singleton('flarum.admin.routes', function () {
            return new RouteCollection();
        });
    }