Last active
December 28, 2015 08:39
-
-
Save metalvarez/7473506 to your computer and use it in GitHub Desktop.
InitializableControllerInterface for symfony2
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
<?php | |
namespace Acme\CommonsBundle\Model\Controller; | |
/** | |
* Interface to set a preAction method to controllers | |
* | |
* @author Víctor Hugo Álvarez <metalvarez@gmail.com> | |
*/ | |
interface InitializableControllerInterface | |
{ | |
/** | |
* initialize method preAction callback | |
* | |
*/ | |
public function initialize(); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment