@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
35 lines (22 loc) • 1.17 kB
Markdown
---
lang: en
title: 'API docs: service-proxy.servicemixindoc.mountcomponentservices'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/service-proxy
permalink: /doc/en/lb4/apidocs.service-proxy.servicemixindoc.mountcomponentservices.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/service-proxy](./service-proxy.md) > [ServiceMixinDoc](./service-proxy.servicemixindoc.md) > [mountComponentServices](./service-proxy.servicemixindoc.mountcomponentservices.md)
## ServiceMixinDoc.mountComponentServices() method
Get an instance of a component and mount all it's services. This function is intended to be used internally by component()
<b>Signature:</b>
```typescript
mountComponentServices(component: Constructor<unknown>): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| component | [Constructor](./context.constructor.md)<!-- --><unknown> | The component to mount services of |
<b>Returns:</b>
void