__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?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;
use InvalidArgumentException;
use RuntimeException;
interface RouteCollectorInterface
{
/**
* Get the route parser
*/
public function getRouteParser(): RouteParserInterface;
/**
* Get default route invocation strategy
*/
public function getDefaultInvocationStrategy(): InvocationStrategyInterface;
/**
* Set default route invocation strategy
*/
public function setDefaultInvocationStrategy(InvocationStrategyInterface $strategy): RouteCollectorInterface;
/**
* Get path to FastRoute cache file
*/
public function getCacheFile(): ?string;
/**
* Set path to FastRoute cache file
*
* @throws InvalidArgumentException
* @throws RuntimeException
*/
public function setCacheFile(string $cacheFile): RouteCollectorInterface;
/**
* Get the base path used in pathFor()
*/
public function getBasePath(): string;
/**
* Set the base path used in pathFor()
*/
public function setBasePath(string $basePath): RouteCollectorInterface;
/**
* Get route objects
*
* @return RouteInterface[]
*/
public function getRoutes(): array;
/**
* Get named route object
*
* @param string $name Route name
*
* @throws RuntimeException If named route does not exist
*/
public function getNamedRoute(string $name): RouteInterface;
/**
* Remove named route
*
* @param string $name Route name
*
* @throws RuntimeException If named route does not exist
*/
public function removeNamedRoute(string $name): RouteCollectorInterface;
/**
* Lookup a route via the route's unique identifier
*
* @throws RuntimeException If route of identifier does not exist
*/
public function lookupRoute(string $identifier): RouteInterface;
/**
* Add route group
* @param string|callable $callable
*/
public function group(string $pattern, $callable): RouteGroupInterface;
/**
* Add route
*
* @param string[] $methods Array of HTTP methods
* @param string $pattern The route pattern
* @param callable|string $handler The route callable
*/
public function map(array $methods, string $pattern, $handler): RouteInterface;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AdvancedCallableResolverInterface.php | File | 609 B | 0777 |
|
| CallableResolverInterface.php | File | 394 B | 0777 |
|
| DispatcherInterface.php | File | 568 B | 0777 |
|
| ErrorHandlerInterface.php | File | 551 B | 0777 |
|
| ErrorRendererInterface.php | File | 337 B | 0777 |
|
| InvocationStrategyInterface.php | File | 1.01 KB | 0777 |
|
| MiddlewareDispatcherInterface.php | File | 1.16 KB | 0777 |
|
| Psr17FactoryInterface.php | File | 1.21 KB | 0777 |
|
| Psr17FactoryProviderInterface.php | File | 510 B | 0777 |
|
| RequestHandlerInvocationStrategyInterface.php | File | 289 B | 0777 |
|
| RouteCollectorInterface.php | File | 2.47 KB | 0777 |
|
| RouteCollectorProxyInterface.php | File | 3.42 KB | 0777 |
|
| RouteGroupInterface.php | File | 977 B | 0777 |
|
| RouteInterface.php | File | 2.68 KB | 0777 |
|
| RouteParserInterface.php | File | 1.87 KB | 0777 |
|
| RouteResolverInterface.php | File | 387 B | 0777 |
|
| ServerRequestCreatorInterface.php | File | 365 B | 0777 |
|