In Joomla! documentation it is stated that:
Since Joomla 3.3, one should rather implement the interface JComponentRouterInterface and handle the routing and parsing similar as below, but via the methods of this interface.
But I cannot find any sample implementation of the interface mentioned above. Can anyone provide an example?
https://docs.joomla.org/Supporting_SEF_URLs_in_your_component