Actually use cache across example runs (#116)
This commit is contained in:
parent
e4a82f7474
commit
e5a4cb5906
1 changed files with 10 additions and 9 deletions
|
|
@ -30,7 +30,7 @@ $server = Server::builder()
|
|||
->setLogger(logger())
|
||||
->setContainer(container())
|
||||
->setSession(new FileSessionStore(__DIR__.'/sessions'))
|
||||
->setDiscovery(__DIR__, ['.'])
|
||||
->setDiscovery(__DIR__)
|
||||
->addTool(
|
||||
function (float $a, float $b, string $operation = 'add'): array {
|
||||
$result = match ($operation) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue