Menu

## InvokerInterface
in

InvokerInterface.php : 12

Invoke a callable.

### Table of Contents

#### Methods

call() : mixed
  Call the given function using the given parameters.

### Methods

#### call()

InvokerInterface.php : 24

Call the given function using the given parameters.

`public call(callable|array<string|int, mixed>|string $callable[, array<string|int, mixed> $parameters = [] ]) : mixed`

##### Parameters

$callable : callable|array<string|int, mixed>|string

  Function to call.

$parameters : array<string|int, mixed> = []

  Parameters to use.

##### Tags

throws
  InvocationException

  Base exception class for all the sub-exceptions below.

throws
  NotCallableException
throws
  NotEnoughParametersException

##### Return values

mixed —

Result of the function.

## Search results