__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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 Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
interface RouteInterface
{
/**
* Get route invocation strategy
*/
public function getInvocationStrategy(): InvocationStrategyInterface;
/**
* Set route invocation strategy
*/
public function setInvocationStrategy(InvocationStrategyInterface $invocationStrategy): RouteInterface;
/**
* Get route methods
*
* @return string[]
*/
public function getMethods(): array;
/**
* Get route pattern
*/
public function getPattern(): string;
/**
* Set route pattern
*/
public function setPattern(string $pattern): RouteInterface;
/**
* Get route callable
*
* @return callable|string
*/
public function getCallable();
/**
* Set route callable
*
* @param callable|string $callable
*/
public function setCallable($callable): RouteInterface;
/**
* Get route name
*/
public function getName(): ?string;
/**
* Set route name
*
* @return static
*/
public function setName(string $name): RouteInterface;
/**
* Get the route's unique identifier
*/
public function getIdentifier(): string;
/**
* Retrieve a specific route argument
*/
public function getArgument(string $name, ?string $default = null): ?string;
/**
* Get route arguments
*
* @return array<string, string>
*/
public function getArguments(): array;
/**
* Set a route argument
*/
public function setArgument(string $name, string $value): RouteInterface;
/**
* Replace route arguments
*
* @param array<string, string> $arguments
*/
public function setArguments(array $arguments): self;
/**
* @param MiddlewareInterface|string|callable $middleware
*/
public function add($middleware): self;
public function addMiddleware(MiddlewareInterface $middleware): self;
/**
* Prepare the route for use
*
* @param array<string, string> $arguments
*/
public function prepare(array $arguments): self;
/**
* Run route
*
* This method traverses the middleware stack, including the route's callable
* and captures the resultant HTTP response object. It then sends the response
* back to the Application.
*/
public function run(ServerRequestInterface $request): ResponseInterface;
}
| 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 |
|