for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace League\Pipeline;
class FingersCrossedProcessor implements ProcessorInterface
{
public function process($payload, callable ...$stages)
foreach ($stages as $stage) {
$payload = $stage($payload);
}
return $payload;