public function registerAutoPresenterMapper(Container $app)
    {
        $app->singleton('autopresentermapper', function () {
            return new AutoPresenterMapper();
        });

        $autoPresenter = $app->make('autopresenter');
        $autoPresenter->register(new MapperDecorator($autoPresenter, $this->app->make('autopresentermapper'), $this->app));
    }
public function registerAutoPresenterMapper(Container $app)
    {
        $app->singleton('autopresentermapper', function () {
            return new AutoPresenterMapper();
        });

        $autoPresenter = $app->make('autopresenter');
        $autoPresenter->register(new MapperDecorator($autoPresenter, $this->app->make('autopresentermapper'), $this->app));
    }
public function registerAutoPresenterMapper ( Container $ app ) { $ app -> singleton ( 'autopresentermapper' , function ( ) { return new AutoPresenterMapper ( ) ; } ) ; $ autoPresenter = $ app -> make ( 'autopresenter' ) ; $ autoPresenter -> register ( new MapperDecorator ( $ autoPresenter , $ this -> app -> make ( 'autopresentermapper' ) , $ this -> app ) ) ; }
Register the Mapper decorator.

@param Container $app
Register the Mapper decorator .