Does PHP have a limit to the number of times you can inherit? It seems that inherited methods have 'disappeared' 😛
I have a class called FormContainer. Then I have:
FormGroupContainer extends FormContainer
FormGroupContainerControl extends FormControl
FormGroup extends FormGroupContainerControl
ButtonGroup extends FormGroup.
I know this is kinda rediculous, but since PHP has multiple inheritance, it makes it difficult in setting up these classes (FormGroup should extend from FormControl and FormContainer at the same time).
I could do the multiple inheritance with delegation/containment instead, but that's too messy 😛 Can anyone help?