Dispatch REST-like requests with a single controller class in Zend Expressive