# WHMCS\Module\Server\CustomActionCollection

`Class` · extends `Collection`

The CustomActionCollection object is used to return data through a server module
to display Custom Action items.

## Methods

### add

```php
public function add($item): self
```

Add a single CustomAction object to an existing CustomActionCollection.

**Parameters**

| Type | Name | Description |
|  --- | --- | --- |
| `CustomAction` | `$item` |  |


**Returns** `$this`