| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | function printFooter($success = true) |
||
| 24 | { |
||
| 25 | $this->info('--'); |
||
| 26 | $this->info('Homepage : http://www.crudbooster.com'); |
||
| 27 | $this->info('Github : https://github.com/crocodic-studio/crudbooster'); |
||
| 28 | $this->info('Documentation : https://github.com/crocodic-studio/crudbooster/blob/master/docs/en/index.md'); |
||
| 29 | $this->info('===================================================================='); |
||
| 30 | if ($success == true) { |
||
| 31 | $this->info('------------------- :===: Completed !! :===: ------------------------'); |
||
| 32 | } else { |
||
| 33 | $this->info('------------------- :===: Failed !! :===: ------------------------'); |
||
| 34 | } |
||
| 36 | } |
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.