Created
September 25, 2013 12:27
-
-
Save fubhy/6698939 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
/** | |
* @Route("/foo/{bar}/{baz}") | |
*/ | |
class SomePage extends ControllerBase { | |
/** | |
* @Content | |
*/ | |
public function content(NodeInterface $bar, UserInterface $baz) { | |
return 'Blaaah'; | |
} | |
/** | |
* @Title | |
*/ | |
public function title(NodeInterface $bar, UserInterface $baz) { | |
return 'Meeeh'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment