| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | protected function defineCoreSystemList() |
||
| 15 | { |
||
| 16 | parent::defineCoreSystemList(); |
||
| 17 | |||
| 18 | //Remove not used systems |
||
| 19 | unset( |
||
| 20 | $this->coreSystemList['request'], |
||
| 21 | $this->coreSystemList['session'], |
||
| 22 | $this->coreSystemList['errors'], |
||
| 23 | $this->coreSystemList['cli'] |
||
| 24 | ); |
||
| 25 | |||
| 26 | //Change ModuleList class |
||
| 27 | $this->coreSystemList['moduleList'] = new Core\AppSystems\ModuleList; |
||
| 28 | |||
| 29 | //Add new system : module installation system |
||
| 30 | $this->coreSystemList['moduleInstall'] = new Core\AppSystems\ModuleInstall; |
||
| 31 | } |
||
| 32 | |||
| 47 |
If you implement
__calland you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.This is often the case, when
__callis implemented by a parent class and only the child class knows which methods exist: