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

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

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

@return void
Register metabox services .