public function RouteMock::getDefaults in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/Tests/Routing/RouteMock.php \Symfony\Cmf\Component\Routing\Tests\Routing\RouteMock::getDefaults()
Returns the defaults.
Return value
array The defaults
Overrides Route::getDefaults
File
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ RouteMock.php, line 32
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
public function getDefaults() {
$defaults = array();
if (!is_null($this->locale)) {
$defaults['_locale'] = $this->locale;
}
return $defaults;
}