MiddlewarePipeInterface#getPipeline
to retrieve an iterable of the pipeline
#44
Milestone
MiddlewarePipeInterface#getPipeline
to retrieve an iterable of the pipeline
#44
Feature Request
Summary
I'd love to see
MiddlewarePipeInterface#getPipeline
to retrieve an iterable of middlewares to be executed.Most preferably in the same order the middlewares were actually enqueued.
This method would help me to get rid of using
ReflectionProperty
in unit tests to actually grab the pipeline so that we can verify that all middlewares are actually instantiable viaContainerInterface
:More specifically the
extractMiddlewareNamesFromPipeline
method.With mezzio/mezzio#159 it is now possible to fetch the middleware name which will be lazy-loaded by
LazyLoadingMiddleware
and thus, the only thing where I would needReflectionProperty
for would be the pipeline from stratigility (well, and theroutesToInject
to accessFastRouteRouter
pending route property...).The text was updated successfully, but these errors were encountered: