# defender-security/5.4.0/lib/packages/Invoker/InvokerInterface.php

Defender Security – Malware Scanner, Login Security &amp; Firewall, version 5.4.0. 26 lines.

- Page: https://pluginprobe.com/plugins/defender-security/5.4.0/code/lib/packages/Invoker/InvokerInterface.php
- Raw: https://pluginprobe.com/plugins/defender-security/5.4.0/raw/lib/packages/Invoker/InvokerInterface.php
- Modified: 2023-09-18T10:08:56+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/defender-security/5.4.0/code/lib/packages/Invoker/InvokerInterface.php#L10-L20`.

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

namespace WPMU_DEV\Defender\Vendor\Invoker;

use WPMU_DEV\Defender\Vendor\Invoker\Exception\InvocationException;
use WPMU_DEV\Defender\Vendor\Invoker\Exception\NotCallableException;
use WPMU_DEV\Defender\Vendor\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 = []);
}

```
