File "InvokerInterface.php"

Full Path: /home/rattkxnv/byattorney.com/wp-content/plugins/elementor/vendor_prefixed/dependency-injection/php-di/invoker/src/InvokerInterface.php
File size: 782 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

declare (strict_types=1);
namespace ElementorDeps\Invoker;

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