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