comparison vendor/symfony/http-kernel/Controller/ControllerReference.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
25 * @see FragmentRendererInterface 25 * @see FragmentRendererInterface
26 */ 26 */
27 class ControllerReference 27 class ControllerReference
28 { 28 {
29 public $controller; 29 public $controller;
30 public $attributes = array(); 30 public $attributes = [];
31 public $query = array(); 31 public $query = [];
32 32
33 /** 33 /**
34 * @param string $controller The controller name 34 * @param string $controller The controller name
35 * @param array $attributes An array of parameters to add to the Request attributes 35 * @param array $attributes An array of parameters to add to the Request attributes
36 * @param array $query An array of parameters to add to the Request query string 36 * @param array $query An array of parameters to add to the Request query string
37 */ 37 */
38 public function __construct($controller, array $attributes = array(), array $query = array()) 38 public function __construct($controller, array $attributes = [], array $query = [])
39 { 39 {
40 $this->controller = $controller; 40 $this->controller = $controller;
41 $this->attributes = $attributes; 41 $this->attributes = $attributes;
42 $this->query = $query; 42 $this->query = $query;
43 } 43 }