After upgrading to zf3, $this->getInputFilter() doesn't work in Apigility resources


#1

My API class extends AbstractResourceListener and when I was using ZF2 it worked like:

https://apigility.org/documentation/recipes/upload-files-to-api

states it should when uploading files through the API. After upgrading to ZF3, $this->getInputFilter() returns as null and I can’t get uploaded file.

If I can’t do this anymore, can I get the input filter through the service manager and inject into the class?
Or do I have to do somethings else?

Any help is much appreciated!
Thanks.