xtrasmal / TacticianBundle

Symfony2 Bundle for the Tactician library -DEPRECATED / MOVED to
https://github.com/thephpleague/tactician-bundle
5 stars 2 forks source link

Allow middleware config to be service definitions, not class names #1

Closed rosstuck closed 9 years ago

rosstuck commented 9 years ago

If the Setup class were ContainerAware, this would be pretty trivial, just change https://github.com/xtrasmal/TacticianBundle/blob/master/Setup/Setup.php#L38 to not call new $middleware but $this->container->get($middleware).

This would make it really easy to have middleware with other dependencies. :smile:

rosstuck commented 9 years ago

Mostly resolved in #3