# cookiebot/3.1.0/addons/lib/ioc/php-di/invoker/src/InvokerInterface.php

Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA &amp; Google Consent Mode, version 3.1.0. 30 lines.

- Page: https://pluginprobe.com/plugins/cookiebot/3.1.0/code/addons/lib/ioc/php-di/invoker/src/InvokerInterface.php
- Raw: https://pluginprobe.com/plugins/cookiebot/3.1.0/raw/addons/lib/ioc/php-di/invoker/src/InvokerInterface.php
- Modified: 2018-07-31T11:41:44+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/cookiebot/3.1.0/code/addons/lib/ioc/php-di/invoker/src/InvokerInterface.php#L10-L20`.

```php
<?php

namespace Invoker;

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

/**
 * Invoke a callable.
 *
 * @author Matthieu Napoli <matthieu@mnapoli.fr>
 */
interface InvokerInterface
{
    /**
     * Call the given function using the given parameters.
     *
     * @param callable $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 = array());
}

```
