1 | <?php |
||
9 | class ErrorCatcherDecoratorFactory implements DecoratorFactoryInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var DecoratorFactoryInterface |
||
13 | */ |
||
14 | private $decoratedFactory; |
||
15 | /** |
||
16 | * @var UserInteraction |
||
17 | */ |
||
18 | private $userInteraction; |
||
19 | |||
20 | /** |
||
21 | * @param DecoratorFactoryInterface $decoratedFactory |
||
22 | * @param UserInteraction $userInteraction |
||
23 | */ |
||
24 | public function __construct(DecoratorFactoryInterface $decoratedFactory, UserInteraction $userInteraction) |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function decorate(ChainProcessInterface $process, ChainProcessInterface $next = null) |
||
40 | } |
||
41 |