backend/app/controllers/MainController.php
2024-07-03 15:15:59 +03:00

18 lines
258 B
PHP

<?php
namespace app\controllers;
class MainController
{
public function actionIndex(): void
{
echo "<h1>Главная страница</h1>";
}
public function actionExample(): void
{
echo "<h1>Example</h1>";
}
}