Documentation

InvokerInterface

Invoke a callable.

Table of Contents

Methods

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

Methods

call()

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.


        
On this page

Search results