public function ControllerReference::__construct

Constructor.

Parameters

string $controller The controller name:

array $attributes An array of parameters to add to the Request attributes:

array $query An array of parameters to add to the Request query string:

File

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

Class

ControllerReference
Acts as a marker and a data holder for a Controller.

Namespace

Symfony\Component\HttpKernel\Controller

Code

public function __construct($controller, array $attributes = array(), array $query = array()) {
  $this->controller = $controller;
  $this->attributes = $attributes;
  $this->query = $query;
}