Posts by Jorge Brito • 1 point
1 post
-
-2
votes1
answer1928
viewsQ: How to invoke a method specific to a PHP class?
I created a class Pen which has the following attributes and methods: <?php class caneta { var $modelo; var $cor; var $ponta; var $carga; var $tampada; function rabiscar() { if ($this->tampada…