public function __construct($route, array $params = array()) { $this->route = $route; $this->params = new ParameterBag($params); }