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