25 lines
516 B
PHP
Raw Normal View History

2024-07-29 15:57:20 +03:00
<?php
namespace kernel\console\controllers;
2024-12-12 15:04:45 +03:00
use kernel\App;
2024-07-29 15:57:20 +03:00
use kernel\console\ConsoleController;
2024-12-12 15:04:45 +03:00
use kernel\helpers\Debug;
2024-07-29 15:57:20 +03:00
class MainController extends ConsoleController
{
public function indexAction(): void
{
$this->out->r("Привет", "green");
}
2024-12-12 15:04:45 +03:00
public function actionHelp(): void
{
// Debug::dd(App::$collector->getData());
// foreach (App::$collector->getDescriptions() as $description){
// $this->out->r($description, "green");
// }
}
2024-07-29 15:57:20 +03:00
}