On this page
Interface ConsoleApplicationInterface
An interface defining the methods that the console runner depend on.
Method Summary
bootstrap() public
Load all the application configuration and bootstrap logic.
console() public
Define the console commands for an application.
Method Detail
bootstrap() public
bootstrap(): void
Load all the application configuration and bootstrap logic.
Override this method to add additional bootstrap logic for your application.
Returns
void
console() public
console(Cake\Console\CommandCollection $commands): Cake\Console\CommandCollection
Define the console commands for an application.
Parameters
Cake\Console\CommandCollection
$commands-
The CommandCollection to add commands into.
Returns
Cake\Console\CommandCollection
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/interface-Cake.Core.ConsoleApplicationInterface.html