1 | <?php |
||
21 | final class FileFactory |
||
22 | { |
||
23 | /** |
||
24 | * Symfony's !tagged helper expression returns an iterable object; but the FileFactory requires an array. |
||
25 | * This means that we need to unpack the middlewares iterable first as a plain array in this factory. |
||
26 | */ |
||
27 | public static function createInstance(NodesFactory $nodesFactory, iterable $middlewares): Factory\File |
||
31 | } |
||
32 |