public function Route::getDefault in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::getDefault()
Gets a default value.
Parameters
string $name A variable name:
Return value
mixed The default value or null when not given
File
- vendor/
symfony/ routing/ Route.php, line 456
Class
- Route
- A Route describes a route and its parameters.
Namespace
Symfony\Component\RoutingCode
public function getDefault($name) {
return isset($this->defaults[$name]) ? $this->defaults[$name] : null;
}