Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php declare(strict_types=1);
- $app->get('/prices', [
- ParseParams::class,
- NormalizeParams::class,
- delayed() => Notify::class,
- parallel() => [
- ServiceA::class,
- SomeOtherService::class,
- ServiceB::class,
- serial() => [
- ServicePrepareC::class,
- ServiceC::class,
- ]
- ],
- MergeResults::class,
- Sync::class,
- Response::class,
- ]);
Add Comment
Please, Sign In to add comment