public function register()
    {
        $this->app->singleton('metadata', function ($app) {
            return new SimpleMetadataProvider('Data', self::$metaNAMESPACE);
        });
        $this->app->singleton('objectmap', function ($app) {
            return new Map();
        });
    }
public function register()
    {
        $this->app->singleton('metadata', function ($app) {
            return new SimpleMetadataProvider('Data', self::$metaNAMESPACE);
        });
        $this->app->singleton('objectmap', function ($app) {
            return new Map();
        });
    }
public function register ( ) { $ this -> app -> singleton ( 'metadata' , function ( $ app ) { return new SimpleMetadataProvider ( 'Data' , self :: $ metaNAMESPACE ) ; } ) ; $ this -> app -> singleton ( 'objectmap' , function ( $ app ) { return new Map ( ) ; } ) ; }
Register the application services.  Boot-time only.

@return void
Register the application services . Boot - time only .