Greetings community, I am currently developing a Yii webservice, and I want that all my service actions are separated in different classes(just in the way controller/actions do).
So I can have:
/controllers
WSController
/serviceActions
helloWorldServiceAction
getGreetingServiceAction
...ServiceAction
This is because I want a separation of each service Method, so in order to add a new method I can just add a class to the specified directory. The documentation in the services topic is unclear about what can/can’t do.
I hope to get some help on the topic.
Greetings