summaryrefslogtreecommitdiff
path: root/src/Contracts
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
committerSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
commitc762531c8679dbb800346174913bfa21917ac0b5 (patch)
treefe8cea949acde5bc9a15c67b154a46d2d31a4e69 /src/Contracts
parent0b6c1959528e97087ae1eb4bb098fdc8d689ce99 (diff)
strategy parameter parsing
Diffstat (limited to 'src/Contracts')
-rw-r--r--src/Contracts/Strategy.php6
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;
}