<!-- This file is auto-generated by the docs:generate-viewhelper-docs command. Do not edit directly -->

# ui:call

**Reference:** [View Source](https://github.com/jramke/fluid-primitives/tree/main/Classes/ViewHelpers/CallViewHelper.php)

Call a method on an object with optional arguments.

Used internally and exposed for convenience.

## Examples

```
{object -> ui:call(method: 'doSomething')}
{object -> ui:call(method: 'doSomethingWithArguments', arguments: {0: 'foo', 1: 'bar'})}
```

## Arguments

| Name | Type | Description | Required | Default |
|------|------|-------------|----------|--------|
| `object` | object | The object to call a method on | No | - |
| `method` | string | The method name to call | Yes | - |
| `arguments` | array | Arguments to pass to the method | No | [] |
