29 lines
609 B
PHP
29 lines
609 B
PHP
<?php
|
|
|
|
/**
|
|
* Slim Framework (https://slimframework.com)
|
|
*
|
|
* @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Slim\Interfaces;
|
|
|
|
interface AdvancedCallableResolverInterface extends CallableResolverInterface
|
|
{
|
|
/**
|
|
* Resolve $toResolve into a callable
|
|
*
|
|
* @param string|callable $toResolve
|
|
*/
|
|
public function resolveRoute($toResolve): callable;
|
|
|
|
/**
|
|
* Resolve $toResolve into a callable
|
|
*
|
|
* @param string|callable $toResolve
|
|
*/
|
|
public function resolveMiddleware($toResolve): callable;
|
|
}
|