src/FielderServiceProvider.php
public function register()
    {
        $this->app->singleton('fielder', function ($app) {
            $fielder = new Fielder($app);

            $fielder->register($this->fields);

            return $fielder;
        });

        $this->app->alias('fielder', Fielder::class);
    }
public function register()
    {
        $this->app->singleton('fielder', function ($app) {
            $fielder = new Fielder($app);

            $fielder->register($this->fields);

            return $fielder;
        });

        $this->app->alias('fielder', Fielder::class);
    }
public function register ( ) { $ this -> app -> singleton ( 'fielder' , function ( $ app ) { $ fielder = new Fielder ( $ app ) ; $ fielder -> register ( $ this -> fields ) ; return $ fielder ; } ) ; $ this -> app -> alias ( 'fielder' , Fielder :: class ) ; }
Register fielder services.

@return void
Register fielder services .