# Provider Namespace

Inject object providers, please refer to our [provider section](/advanced-topics/providers.md) in this guide.

| DSL                       | Description                                                                                               |
| ------------------------- | --------------------------------------------------------------------------------------------------------- |
| `provider`                | Build an object provider that will return the mapping according to the property, method or argument name. |
| `provider:{name}`         | Build an object provider that will return the {name} mapping.                                             |
| `provider:{injectionDSL}` | Build an object provider that will return the object that the {injectionDSL} refers to                    |

```javascript
// using id
property name="timedService" inject="provider:TimedService";

// using DSL
property name="timedService" inject="provider:logbox:logger:{this}";
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wirebox.ortusbooks.com/usage/injection-dsl/provider-namespace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
