Closed ihorchepurnyi closed 5 years ago
Like usual this repository doesn't notify me.
I wasn't aware of resources working this way. But you would just have to use things without the delgation "magic". So $this->resource->url()
for the presenter method.
However, if you only have an API I wouldn't even recommend using the presenter.
Hi, How can I use presenter class in the API resource
Example: 1) Resource class
2) Presenter
3) Controller
4) Model