src/Curry/src/Invokable.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/**
 * This file is part of phpfn package.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

declare(strict_types=1);

namespace Fun\Curry;

/**
 * @deprecated since 2.0 and will be removed in 3.0
 */
interface Invokable
{
    /**
     * @param mixed ...$args
     * @return mixed|static
     */
    public function __invoke(...$args);
}