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

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

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

@return void
Register taxonomy services .