@goatshark In my perception repositories are in the middle of data/models and the application to provide flexibility in the future.
@d3xt3r Thanks for your straight forward approach. This is non reusable code and only serves this function. Utility might be a good one too. I think this is the same as Helpers (I'm from the Magento world).