Which feature allows us to call more than one method or function of the class in single instruction?
A
Typecasting
B
Method Including
C
Method adding
D
Method chaining
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();