Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | function printFooter($success = true) |
||
38 | { |
||
39 | $this->console->info('--'); |
||
40 | $this->console->info('Homepage : http://www.crudbooster.com'); |
||
41 | $this->console->info('Github : https://github.com/crocodic-studio/crudbooster'); |
||
42 | $this->console->info('Documentation : https://github.com/crocodic-studio/crudbooster/blob/master/docs/en/index.md'); |
||
43 | $this->console->info('===================================================================='); |
||
44 | if ($success == true) { |
||
45 | $this->console->info('------------------- :===: Completed !! :===: ------------------------'); |
||
46 | } else { |
||
47 | $this->console->info('------------------- :===: Failed !! :===: ------------------------'); |
||
48 | } |
||
50 | } |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.