How do you call a method from another class in PHP?
How do you call a method from another class in PHP? “how to call function from another class in php” Code Answer $classA = new ClassA(); $name = $classA->getName(); echo $name; //Prints John. Can we call method in class? Static Method: Static methods are the methods in Java that can be called without creating an […]