Which feature allows us to call more than one method or function of the class in single instruction?

Which feature allows us to call more than one method or function of the class in single instruction? Correct Answer Method chaining

When many methods are called in a single instruction in PHP, it is called method chaining. Following is a basic example of method chaining in php: $a = new Order(); $a->CreateOrder()->sendOrderEmail()->createShipment();

Related Questions

L is older than M and taller than N. O is younger than P, older than N and shorter than Q. R is older than S, younger than N, shorter than S and taller than Q. S is older than L, M, O, P, Q, R and S is necessarily false?
Which of the following feature allows you to select more than one slide in slide sorter view?