Conditions | 3 |
Paths | 4 |
Total Lines | 19 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
17 | public function main() |
||
18 | { |
||
19 | $this->out('The following commands can be used when deploying the application.', 2); |
||
20 | $this->out('<info>Available commands:</info>', 2); |
||
21 | $names = []; |
||
22 | |||
23 | foreach ($this->tasks as $task => $value) { |
||
24 | $names[] = Inflector::underscore($task); |
||
25 | } |
||
26 | |||
27 | sort($names); |
||
28 | |||
29 | foreach ($names as $name) { |
||
30 | $this->out('- <error>' . $name . '</error>'); |
||
31 | } |
||
32 | |||
33 | $this->out(''); |
||
34 | $this->out('By using <info>`cake deployer [name]`</info> you can invoke a specific bake task.'); |
||
35 | } |
||
36 | |||
55 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.