class ControllerReference

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>

Hierarchy

Expanded class hierarchy of ControllerReference

See also

Symfony\Component\HttpKernel\FragmentRenderer

Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface

10 files declare their use of ControllerReference

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Controller/ControllerReference.php, line 26

Namespace

Symfony\Component\HttpKernel\Controller
View source

Members