|
| | call ($callable, array $parameters=[]) |
| | Call the given function using the given parameters.
|
| |
◆ call()
| Invoker\InvokerInterface::call |
( |
| $callable, |
|
|
array | $parameters = [] ) |
Call the given function using the given parameters.
- Parameters
-
| callable | array | string | $callable | Function to call. |
| array | $parameters | Parameters to use. |
- Return values
-
| mixed | Result of the function. |
- Exceptions
-
| InvocationException | Base exception class for all the sub-exceptions below. |
| NotCallableException | |
| NotEnoughParametersException | |
Implemented in DI\Container, and Invoker\Invoker.
The documentation for this interface was generated from the following file:
- lib/php-di/invoker/src/InvokerInterface.php