getLocalService(name, version) {
		if (arguments.length == 1) {
			if (utils.isString(name))
				return this.services.find(service => service.fullName == name);
			else if (utils.isPlainObject(name))
				return this.services.find(
					service => service.name == name.name && service.version == name.version
				);
		}
		// Deprecated
		return this.services.find(service => service.name == name && service.version == version);
	}
Get a local service by name

Example:
	getLocalService("v2.posts");
	getLocalService({ name: "posts", version: 2 });

@param {String|ServiceSearchObj} name
@param {String|Number?} version
@returns {Service}

@memberof ServiceBroker