Answers for "php call method from another class"

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 "php call method from another class"

Browse Popular Code Answers by Language