Created
May 12, 2017 14:21
-
-
Save dawehner/55a0d90d8fb0a256459bc906bb1abef2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ContainerAwareLazyRouteFilter extends LazyRouteFilter { | |
use ContainerAwareTrait; | |
protected function createInstance($id) { | |
return $this->container->get($id); | |
} | |
} | |
abstract class LazyRouteFilter { | |
protected function createInstance($id); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment