protected function registerParser()
    {
        $this->app->singleton(EmojiParser::class, function (Container $app) {
            return new EmojiParser($app->make(RepositoryInterface::class));
        });
    }
protected function registerParser()
    {
        $this->app->singleton(EmojiParser::class, function (Container $app) {
            return new EmojiParser($app->make(RepositoryInterface::class));
        });
    }
protected function registerParser ( ) { $ this -> app -> singleton ( EmojiParser :: class , function ( Container $ app ) { return new EmojiParser ( $ app -> make ( RepositoryInterface :: class ) ) ; } ) ; }
Register the parser class.

@return void
Register the parser class .