Skip to content

Instantly share code, notes, and snippets.

@dawehner
Created April 22, 2014 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dawehner/11188918 to your computer and use it in GitHub Desktop.
Save dawehner/11188918 to your computer and use it in GitHub Desktop.
class EntityDerivative implements ContainerDerivativeInterface {
public function getDerivativeDefinitions($base_plugin_definition) {
$route_collection = ... // INSERT COIN/MAGIC
$route = $route_collection->get($route_name);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment