@staticmethod<EOL><INDENT>@inject(binder=Binder)<EOL>def _bind_service(package_name, cls_name, binder=Injected):<DEDENT>
module = importlib.import_module(package_name)<EOL>cls = getattr(module, cls_name)<EOL>binder.bind(<EOL>cls,<EOL>to=binder.injector.create_object(cls),<EOL>scope=singleton<EOL>)<EOL>logging.debug("<STR_LIT>".format(cls))<EOL>
Bind service to application injector.

        :param package_name: service package
        :type package_name: str
        :param cls_name: service class
        :type cls_name: str
        :param binder: current application binder, injected
        :type binder: Binder