| 1 | <?php |
||
| 10 | class Unused extends BaseControl { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * {@inheritdoc] |
||
| 14 | */ |
||
| 15 | public function init() { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Identify packages entirely consisting of not-enabled modules. |
||
| 23 | */ |
||
| 24 | function checkModules() { |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Identify disabled themes not used as base themes for an enabled theme. |
||
| 34 | */ |
||
| 35 | function checkThemes() { |
||
| 42 | |||
| 43 | function run() { |
||
| 51 | } |
||
| 52 |
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.