createInstance()
createInstance(\phpDocumentor\Reflection\DocBlockFactoryInterface $blockFactory, \phpDocumentor\Reflection\Php\NodesFactory $nodesFactory, \IteratorAggregate<\phpDocumentor\Reflection\Middleware\Middleware> $middlewares) : \phpDocumentor\Reflection\Php\Factory\File
Symfony's !tagged helper expression returns an iterable object; but the FileFactory requires an array.
This means that we need to unpack the middlewares iterable first as a plain array in this factory.
Parameters
\phpDocumentor\Reflection\DocBlockFactoryInterface | $blockFactory | |
\phpDocumentor\Reflection\Php\NodesFactory | $nodesFactory | |
\IteratorAggregate<\phpDocumentor\Reflection\Middleware\Middleware> | $middlewares |