1: <?php
2: /**
3: * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
4: * Copyright 2005-2011, Cake Software Foundation, Inc. (https://cakefoundation.org)
5: *
6: * Licensed under The MIT License
7: * Redistributions of files must retain the above copyright notice.
8: *
9: * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
10: * @link https://cakephp.org CakePHP(tm) Project
11: * @since 3.5.0
12: * @license https://opensource.org/licenses/mit-license.php MIT License
13: */
14: namespace Cake\Core;
15:
16: /**
17: * An interface defining the methods that the
18: * console runner depend on.
19: */
20: interface ConsoleApplicationInterface
21: {
22: /**
23: * Load all the application configuration and bootstrap logic.
24: *
25: * Override this method to add additional bootstrap logic for your application.
26: *
27: * @return void
28: */
29: public function bootstrap();
30:
31: /**
32: * Define the console commands for an application.
33: *
34: * @param \Cake\Console\CommandCollection $commands The CommandCollection to add commands into.
35: * @return \Cake\Console\CommandCollection The updated collection.
36: */
37: public function console($commands);
38: }
39: