backend/app/controllers/MainController.php

18 lines
258 B
PHP
Raw Normal View History

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