public function registerService()
    {
        $this->app->bind('mrs.attributes.translator', function ($attributeMap = []) {
            return new AttributeTranslator($attributeMap);
        });
        $this->app->alias('mrs.attributes.translator', 'attributes.translator');
        $this->app->alias('mrs.attributes.translator', AttributeTranslatorInterface::class);
    }
public function registerService()
    {
        $this->app->bind('mrs.attributes.translator', function ($attributeMap = []) {
            return new AttributeTranslator($attributeMap);
        });
        $this->app->alias('mrs.attributes.translator', 'attributes.translator');
        $this->app->alias('mrs.attributes.translator', AttributeTranslatorInterface::class);
    }
public function registerService ( ) { $ this -> app -> bind ( 'mrs.attributes.translator' , function ( $ attributeMap = [ ] ) { return new AttributeTranslator ( $ attributeMap ) ; } ) ; $ this -> app -> alias ( 'mrs.attributes.translator' , 'attributes.translator' ) ; $ this -> app -> alias ( 'mrs.attributes.translator' , AttributeTranslatorInterface :: class ) ; }
Register services to the application container.
Register services to the application container .