# Minwork Array

## Welcome to the documentation page

<figure><img src="https://3116546489-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LgQltTBB-kdytgr1fEy%2Fuploads%2FK5L6NKhHWxh2GzIyyLY3%2FPHP%20Array%20Utilites.webp?alt=media&#x26;token=00565b18-2105-4806-8b31-0b3add0a61e5" alt=""><figcaption></figcaption></figure>

Minwork Array library is focused on conviniently handling nested arrays as well as arrays of objects.

{% hint style="info" %}
Detailed documentation is always available through PHPDoc in your editor, so you can access it anytime.
{% endhint %}

I believe that the best way to learn some code is to see it in action. That's why within this documentation, aside from detailed specification of each method you will find various examples of using it which will help in faster understanding it's purpose and applications.

To quickly get started check out the links below or look at the full list of available methods in the left panel.

{% content-ref url="common-methods/has" %}
[has](https://minwork.gitbook.io/array/common-methods/has)
{% endcontent-ref %}

{% content-ref url="common-methods/get-getnestedelement" %}
[get-getnestedelement](https://minwork.gitbook.io/array/common-methods/get-getnestedelement)
{% endcontent-ref %}

{% content-ref url="common-methods/set-setnestedelement" %}
[set-setnestedelement](https://minwork.gitbook.io/array/common-methods/set-setnestedelement)
{% endcontent-ref %}

{% content-ref url="common-methods/remove" %}
[remove](https://minwork.gitbook.io/array/common-methods/remove)
{% endcontent-ref %}

{% content-ref url="utility-methods/getfirstkey" %}
[getfirstkey](https://minwork.gitbook.io/array/utility-methods/getfirstkey)
{% endcontent-ref %}

{% content-ref url="utility-methods/getfirstvalue" %}
[getfirstvalue](https://minwork.gitbook.io/array/utility-methods/getfirstvalue)
{% endcontent-ref %}


---

# 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://minwork.gitbook.io/array/master.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.
