public function register()
    {
        $this->app->singleton('profile.factory', function ($app) {
            return new ProfileFactory($app);
        });

        $this->app->alias('profile.factory', ProfileFactory::class);
    }
public function register()
    {
        $this->app->singleton('profile.factory', function ($app) {
            return new ProfileFactory($app);
        });

        $this->app->alias('profile.factory', ProfileFactory::class);
    }
public function register ( ) { $ this -> app -> singleton ( 'profile.factory' , function ( $ app ) { return new ProfileFactory ( $ app ) ; } ) ; $ this -> app -> alias ( 'profile.factory' , ProfileFactory :: class ) ; }
Register profile services.

@return void
Register profile services .