You are here

public function DumperRoute::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Matcher/Dumper/DumperRoute.php \Symfony\Component\Routing\Matcher\Dumper\DumperRoute::__construct()

Constructor.

Parameters

string $name The route name:

Route $route The route:

File

vendor/symfony/routing/Matcher/Dumper/DumperRoute.php, line 41

Class

DumperRoute
Container for a Route.

Namespace

Symfony\Component\Routing\Matcher\Dumper

Code

public function __construct($name, Route $route) {
  $this->name = $name;
  $this->route = $route;
}