How to implement executing a piece of code at the end of an operation request in Laravel framework? For example, register once and execute some code after all procedures have been completed. Similar to destructuring but this is global and doesn't require writing code for each function.