Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d60557e9d6 | ||
|
|
66893b670b |
@@ -9,7 +9,7 @@
|
||||
],
|
||||
"require": {
|
||||
"php": "^8.1",
|
||||
"rmphp/foundation": "^1.0"
|
||||
"rmphp/foundation": "^2.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
@@ -12,10 +12,10 @@ class Router implements RouterInterface {
|
||||
private string $startPoint = "/";
|
||||
|
||||
/**
|
||||
* @param string $startPoint
|
||||
* @param string $mountPoint
|
||||
*/
|
||||
public function setStartPoint(string $startPoint): void {
|
||||
$this->startPoint = $startPoint;
|
||||
public function setStartPoint(string $mountPoint): void {
|
||||
$this->startPoint = $mountPoint;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user