src/Processor.php
public function process(Pipeline\Pipeline $pipeline, $payload)
	{
		$runner         = clone($this);
		$runner->stages = $pipeline->getIterator();

		return $runner->handle($payload);
	}
public function process(Pipeline\Pipeline $pipeline, $payload)
	{
		$runner         = clone($this);
		$runner->stages = $pipeline->getIterator();

		return $runner->handle($payload);
	}
Process the payload

Returns this with the stages set

@param Pipeline\Pipeline $pipeline
@param                   $payload
@return mixed|ResponseInterface