diff options
| author | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
| commit | c762531c8679dbb800346174913bfa21917ac0b5 (patch) | |
| tree | fe8cea949acde5bc9a15c67b154a46d2d31a4e69 /src/Contracts/Strategy.php | |
| parent | 0b6c1959528e97087ae1eb4bb098fdc8d689ce99 (diff) | |
strategy parameter parsing
Diffstat (limited to 'src/Contracts/Strategy.php')
| -rw-r--r-- | src/Contracts/Strategy.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Contracts/Strategy.php b/src/Contracts/Strategy.php index 7dea459..bf447c3 100644 --- a/src/Contracts/Strategy.php +++ b/src/Contracts/Strategy.php @@ -23,4 +23,10 @@ interface Strategy public function runRoute(RouteCall $call): ResponseInterface; public function notFound(RequestInterface $request): ResponseInterface; + + /** + * @param array<string, mixed> $parameters + * @return array<string, string> + */ + public function parseParameters(array $parameters): array; } |
