Answers for "use method from another class php"

PHP
0

php call method from another class

$classA = new ClassA();
$name = $classA->getName();
echo $name;    //Prints John
Posted by: Guest on October-13-2020

Code answers related to "use method from another class php"

Browse Popular Code Answers by Language