src/Taxonomy/TaxonomyServiceProvider.php
protected function registerTaxonomyField()
    {
        $this->app->bind('taxonomy.field', function ($app) {
            $viewFactory = $app['view'];
            $viewFactory->addLocation(__DIR__.'/views');

            return new TaxonomyField(
                new TaxonomyFieldRepository(),
                $viewFactory,
                $app['validator'],
                $app['action']
            );
        });
    }
protected function registerTaxonomyField()
    {
        $this->app->bind('taxonomy.field', function ($app) {
            $viewFactory = $app['view'];
            $viewFactory->addLocation(__DIR__.'/views');

            return new TaxonomyField(
                new TaxonomyFieldRepository(),
                $viewFactory,
                $app['validator'],
                $app['action']
            );
        });
    }
protected function registerTaxonomyField ( ) { $ this -> app -> bind ( 'taxonomy.field' , function ( $ app ) { $ viewFactory = $ app [ 'view' ] ; $ viewFactory -> addLocation ( __DIR__ . '/views' ) ; return new TaxonomyField ( new TaxonomyFieldRepository ( ) , $ viewFactory , $ app [ 'validator' ] , $ app [ 'action' ] ) ; } ) ; }
Register taxonomy field.
Register taxonomy field .