Posts by Raul Cristiano Rezende • 3 points
1 post
-
0
votes1
answer30
viewsQ: How to make a dynamic method?
I have two methods a loadById and loadByCpf, I would like to create a single method, ex: loadClient, as I do? public function loadByCpf($cpfcust) { $sql = new Sql(); $results =…
phpasked Raul Cristiano Rezende 3