I'm using Apigility to create Web Services Rest but I have a question, can I add methods in the > , if yes how do I make a method call through php.
Thank you
I'm using Apigility to create Web Services Rest but I have a question, can I add methods in the > , if yes how do I make a method call through php.
Thank you
Hello, the "Resource" class in Apigility, both Rest and RPC are created with the methods that will be called by the controller.
You normally create methods within the class and use them in the class itself with "$ this". If you intend to call these methods from other classes, there is probably some architecture error because the resource class must be used exclusively to respond to a request.
If you want to further detail your problem, what kind of method do you want to create, I can help you more.