Question:What is method chaining?
Answer
Method chaining enables us to vastly simplify the syntax by connecting multiple functions. Example:$this->db->select(‘name,email’)->from(‘users’)->where(‘id’,5)->limit(10,20);
+ Report
What is method chaining?