routing
This commit is contained in:
1 parent
ec69208f05
commit
a482a508e4
15 files changed
+1485
-85
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace app\controllers;
|
||||
|
||||
class MainController
|
||||
{
|
||||
|
||||
public function actionIndex(): void
|
||||
{
|
||||
echo "<h1>Главная страница</h1>";
|
||||
}
|
||||
|
||||
public function actionExample(): void
|
||||
{
|
||||
echo "<h1>Example</h1>";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user