/
jagepard
/
Rudra-Cli
Обзор
Документация
Войти
/
jagepard
/
Rudra-Cli
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/ConsoleInterface.php
21 строка
682 B
Jagepard
Refactor Console class: enhancements & cleanup
08 июн 2026, 09:34
08 июн 2026, 09:34
25f05e8
Код
Авторство
О чём код?
<?php /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * @author Korotkov Danila (Jagepard) <jagepard@yandex.ru> * @license https://mozilla.org/MPL/2.0/ MPL-2.0 */ namespace Rudra\Cli; interface ConsoleInterface { public function printer(string $text, string $fg = "default", string $bg = "default"): void; public function reader(): string; public function addCommand(string $name, array $command): void; public function invoke(array $inputArgs): void; public function getRegistry(): array; }