Releases
v1.1.0
Update CLI, terminating, commands
Latest
Compare
Sorry, something went wrong.
No results found
Частично добавлено declare(strict_types = 1);
Частично добавлены возвратные типы методов классов
Исправлены ошибки в Framework\Application
В Http\Kernel добавлен метод whenRequestLongerThan()
В Http\Kernel реализован метод terminate() который:
Генерирует событие Terminating
Вызывает метод terminate() у middleware
Вызывает обработчики заданные через app->terminating()
Запускает обработчики из whenRequestLongerThan(), если запрос выполнялся более чем было указано
В Console\Kernel добавлен метод whenCommandLongerThan()
В Console\Kernel реализован метод terminate() который:
Генерирует событие Terminating
Вызывает обработчики заданные через app->terminating()
Запускает обработчики из whenCommandLongerThan(), если команда выполнялась более чем было указано
В Console\Kernel метод addCommand был перименован в command()
В Console\Kernel добавлены методы call(), callSilent(), getConsole(), setConsole(), getApplication(), setApplication()
Изменен порядок добавление комманд в консольное приложение, теперь комманды добавляются только при инициализации Console\Application
Для команд добавлено свойство signature, позволяющие в легкой форме добавлять аргументы и параметры
Добавлен фасад Console
Исправлены ранее созданных комманд, для коректной работы с новыми правками
Скорректирована работа комманды help, list
Добавлены новые события: ConsoleStarting, CommandStart, CommandFinish
Добавлены классы, позволяющие указаывать вводные данные из строки и массива, а не только через argv.
Добавлен классы вывода BufferedOutput, NullOutput. Общие исправления кода.
Добавлена возможность удобного доступа к методам форматирована выходных данных: line, newLine, info, warn, success, error, blockInfo, blockSuccess, blockWarn, blockError, task, twoLineDetail, alert, bulletList
Partially added declare(strict_types = 1);
Partially added return type for class methods
Fixed bugs in Framework\Application
Added the whenRequestLongerThan() method to the Http\Kernel
The Http\Kernel implements the terminate() method.:
Generates the Terminating event
Calls the terminate() method from middleware
Calls handlers specified via app->terminating()
Starts handlers from whenRequestLongerThan() if the request was executed more than was specified
Added the whenCommandLongerThan() method to the Console\Kernel
The Console\Kernel implements the terminate() method.:
Generates the Terminating event
Calls handlers specified via app->terminating()
Runs handlers from whenCommandLongerThan() if the command was executed more than was specified
In Console\Kernel, the addCommand method was changed to command()
In Console\Kernel, the methods call(), callSilent(), getConsole(), setConsole(), getApplication(), setApplication()
Changed the order of adding commands to the console application, now commands are added only when initializing the Console\Application
The signature property has been added for commands, allowing you to easily add arguments and parameters
Added the Console facade
Fixed previously created commands to work correctly with new edits
Corrected the operation of the help, list command
Added new events: ConsoleStarting, CommandStart, CommandFinish
Added classes that allow you to specify input data from a string and array, and not just via argv.
Added output classes BufferedOutput, NullOutput. General code fixes.
Added convenient access to output formatting methods: line, newLine, info, warn, success, error, blockInfo, blockSuccess, blockWarn, blockError, task, twoLineDetail, alert, bulletList
You can’t perform that action at this time.