New course! Every coder should learn Generative AI!
Try a free lesson0
How to use a class from a .php file included with 'require'?
2 Answers
+ 3
First create object of class
Then use member of the class
0
You can instantiate it as if the class were inline.