I created a custom annotation system to manage the cache with symfony 4, I implemented the annotations and I got their values, but I want to know if I can redefine a ReflectionMethod function to do some treatments after reading the annotations ?
Otherwise I want to find a solution to retrieve the result of a function without accessing the content of this function.