PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.5.0
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.5.0
4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.5.2 All 199 releases
betterdocs / includes / Dependencies / Invoker / InvokerInterface.php

InvokerInterface.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.5.0, at includes/Dependencies/Invoker/InvokerInterface.php

26 lines 870 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 WPDeveloper\BetterDocs\Dependencies\Invoker;
4
5 use WPDeveloper\BetterDocs\Dependencies\Invoker\Exception\InvocationException;
6 use WPDeveloper\BetterDocs\Dependencies\Invoker\Exception\NotCallableException;
7 use WPDeveloper\BetterDocs\Dependencies\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