Acts as a marker and a data holder for a Controller.
Some methods in Symfony accept both a URI (as a string) or a controller as an argument. In the latter case, instead of passing an array representing the controller, you can use an instance of this class.
@author Fabien Potencier <fabien@symfony.com>
Expanded class hierarchy of ControllerReference
Symfony\Component\HttpKernel\FragmentRenderer
Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ControllerReference:: |
public | property | ||
ControllerReference:: |
public | property | ||
ControllerReference:: |
public | property | ||
ControllerReference:: |
public | function | Constructor. |