- 1

Multiple Inheritence supported in php ?

27th Apr 2020, 6:27 AM
khelendra Sikarwar
khelendra Sikarwar - avatar
2 odpowiedzi
0
No, but it does provide some ease to reuse sets of methods in multiple independent classes, using traits. A trait is written just like a class, but it cannot be instantiated by itself.
27th Apr 2020, 6:30 AM
Mauricio Dominguez
Mauricio Dominguez - avatar
27th Apr 2020, 7:23 AM
visph
visph - avatar