This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Update phpDoc for ControllerCollection

  • Loading branch information...
Kilte authored and fabpot committed Jan 18, 2014
1 parent dfd5abc commit 53b3a357e097e30aa176d8aa3c0cd0431c9a092a
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/Silex/ControllerCollection.php
@@ -21,6 +21,18 @@
* until flush() is called, at which point all controllers are frozen and
* converted to a RouteCollection.
*
* __call() forwards method-calls to Route, but returns instance of ControllerCollection
* listing Route's methods below, so that IDEs know they are valid
*
* @method \Silex\ControllerCollection assert(string $variable, string $regexp)
* @method \Silex\ControllerCollection value(string $variable, mixed $default)
* @method \Silex\ControllerCollection convert(string $variable, mixed $callback)
* @method \Silex\ControllerCollection method(string $method)
* @method \Silex\ControllerCollection requireHttp()
* @method \Silex\ControllerCollection requireHttps()
* @method \Silex\ControllerCollection before(mixed $callback)
* @method \Silex\ControllerCollection after(mixed $callback)
*
* @author Igor Wiedler <igor@wiedler.ch>
* @author Fabien Potencier <fabien@symfony.com>
*/

0 comments on commit 53b3a35

Please sign in to comment.