| 1 | <?php |
||
| 20 | abstract class AbstractConfiguration |
||
| 21 | { |
||
| 22 | use MagicMethodsTrait; |
||
| 23 | use ParentsTrait; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $path |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | protected function getAbsolutePath($path) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @todo |
||
| 36 | */ |
||
| 37 | protected function checkDefinitionFreezeState() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return bool |
||
| 46 | */ |
||
| 47 | protected function isConfigurationFrozen() |
||
| 59 | } |
||
| 60 |
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: