2 Commits
1.1 ... 1.2.1

Author SHA1 Message Date
User
d60557e9d6 20240412#1 2024-04-12 02:43:39 +03:00
User
66893b670b 20240410#4 2024-04-10 02:37:25 +03:00
2 changed files with 4 additions and 4 deletions

View File

@@ -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": {

View File

@@ -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;
} }
/** /**