| 1 | <?php |
||
| 8 | class Loader extends Containers\Loader |
||
| 9 | { |
||
| 10 | use Traits\CommonTrait; |
||
| 11 | |||
| 12 | public $list = false; |
||
| 13 | |||
| 14 | public function __construct(Builder $builder, array $children = null) |
||
| 24 | |||
| 25 | public function label($html = null) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | protected function customRender($prepend = '', $append = '') |
||
| 56 | } |
||
| 57 |
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: