| 1 | <?php declare(strict_types=1);  | 
            ||
| 24 | class FunctionDecorator implements FunctionDecoratorInterface  | 
            ||
| 25 | { | 
            ||
| 26 | /**  | 
            ||
| 27 | * @var DecoratorsCollectionInterface  | 
            ||
| 28 | */  | 
            ||
| 29 | private $collection;  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * @param DecoratorsCollectionInterface $collection  | 
            ||
| 33 | */  | 
            ||
| 34 | public function __construct(DecoratorsCollectionInterface $collection)  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 |      * {@inheritdoc} | 
            ||
| 41 | */  | 
            ||
| 42 | public function decorate(callable $callback, FunctionSpecInterface $spec, ExecutionContextInterface $exec): callable  | 
            ||
| 52 | }  | 
            ||
| 53 |