I use a Lumen Laravel-based framework and it allows me to create custom method like this:
/**there should be a proper doc*/ \\Laravel\\Lumen\\Http\\ResponseFa