PHP - Interfaces and Traits
Which of the following is the correct syntax to use two traits TraitA and TraitB inside a class MyClass?
class MyClass {
// What goes here?
}Which of the following is the correct syntax to use two traits TraitA and TraitB inside a class MyClass?
class MyClass {
// What goes here?
}use keyword.use, like use TraitA, TraitB;.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions