PluginProbe
Auto Alt Text / 2.6.0
Auto Alt Text v2.6.0
3.0.3 2.8.2 1.3.1 1.3.2 2.0.0 2.1.0 2.1.1 2.2.0 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 2.4.2 2.5.0 2.5.1 2.5.2 2.5.3 2.6.0 2.6.1 2.7.0 2.8.0 2.8.1 All 28 releases
auto-alt-text / vendor / php-di / invoker / src / InvokerInterface.php

InvokerInterface.php in Auto Alt Text 2.6.0, at vendor/php-di/invoker/src/InvokerInterface.php

26 lines 726 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php declare(strict_types=1);
2
3 namespace Invoker;
4
5 use Invoker\Exception\InvocationException;
6 use Invoker\Exception\NotCallableException;
7 use Invoker\Exception\NotEnoughParametersException;
8
9 /**
10 * Invoke a callable.
11 */
12 interface InvokerInterface
13 {
14 /**
15 * Call the given function using the given parameters.
16 *
17 * @param callable|array|string $callable Function to call.
18 * @param array $parameters Parameters to use.
19 * @return mixed Result of the function.
20 * @throws InvocationException Base exception class for all the sub-exceptions below.
21 * @throws NotCallableException
22 * @throws NotEnoughParametersException
23 */
24 public function call($callable, array $parameters = []);
25 }
26