src/Decorator/ChainDecorator.php
public function decorate(Context $context)
    {
        foreach ($this->bag as $decorator) {
            $context = $decorator->decorate($context);
        }

        return $context;
    }
public function decorate(Context $context)
    {
        foreach ($this->bag as $decorator) {
            $context = $decorator->decorate($context);
        }

        return $context;
    }
{@inheritdoc}