ExamVeda
Login
Home
This question belongs to PHP Object Oriented Concept
Object Oriented Concept
?

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

Answer & Solution
Correct Answer: Option D
Following is a basic example of method chaining in php: $a = new Order(); $a->CreateOrder()->sendOrderEmail()->createShipment();
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.