Symfony\Component\HttpKernel\Controller\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>
Synopsis
class ControllerReference
{
- // members
- public $controller;
- public array $attributes;
- public array $query;
- // methods
- public void __construct()
Members
public
- $attributes
- $controller
- $query