# wpide/3.5.9/vendor/php-di/invoker/src/InvokerInterface.php

WPIDE – File Manager &amp; Code Editor, version 3.5.9. 26 lines.

- Page: https://pluginprobe.com/plugins/wpide/3.5.9/code/vendor/php-di/invoker/src/InvokerInterface.php
- Raw: https://pluginprobe.com/plugins/wpide/3.5.9/raw/vendor/php-di/invoker/src/InvokerInterface.php
- Modified: 2022-08-02T19:28:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpide/3.5.9/code/vendor/php-di/invoker/src/InvokerInterface.php#L10-L20`.

```php
<?php declare(strict_types=1);

namespace Invoker;

use Invoker\Exception\InvocationException;
use Invoker\Exception\NotCallableException;
use Invoker\Exception\NotEnoughParametersException;

/**
 * Invoke a callable.
 */
interface InvokerInterface
{
    /**
     * Call the given function using the given parameters.
     *
     * @param callable|array|string $callable Function to call.
     * @param array $parameters Parameters to use.
     * @return mixed Result of the function.
     * @throws InvocationException Base exception class for all the sub-exceptions below.
     * @throws NotCallableException
     * @throws NotEnoughParametersException
     */
    public function call($callable, array $parameters = []);
}

```
