for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SRIO\ChainOfResponsibility;
class DecoratorFactory implements DecoratorFactoryInterface
{
/**
* {@inheritdoc}
*/
public function decorate(ChainProcessInterface $process, ChainProcessInterface $next = null)
return new ChainProcessDecorator($process, $next);
}