Symfony\Component\Routing\Route::hasDefault
Checks if a default value is set for the given variable.
Signature
public function hasDefault(string
$name )
Parameters
$name
— string- A variable name
Returns
- Boolean
- true if the default value is set, false otherwise