Interface ConsoleApplicationInterface
An interface defining the methods that the console runner depend on.
Namespace: Cake\Core
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