How to serialize a closure function with complex parameters

for example, the application class library can serialize the closure function, but does not support passing complex parameters, such as more complex class instances, how to solve it?

Php
Sep.24,2021
Menu