src/Viserio/Component/Pipeline/Pipeline.php
public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);

        $stages = \array_reverse($this->stages);

        $callable = \array_reduce($stages, $this->getSlice(), $firstSlice);

        return $callable($this->traveler);
    }
public function then(Closure $destination)
    {
        $firstSlice = $this->getInitialSlice($destination);

        $stages = \array_reverse($this->stages);

        $callable = \array_reduce($stages, $this->getSlice(), $firstSlice);

        return $callable($this->traveler);
    }
{@inheritdoc}