Last active
January 11, 2018 06:36
-
-
Save antonmedv/46fd262dfd9aeaa42f6c61409bf93353 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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, | |
]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php declare(strict_types=1); | |
// ¯\_(ツ)_/¯ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment