Symfony\Component\Routing\Route::setPattern
Sets the pattern for the path.
This method implements a fluent interface.
Signature
public function setPattern(string
$pattern )
Parameters
$pattern
— string- The path pattern
Returns
- Route
- The current Route instance