addCallback() addCallback(string $methodName, callable $callback) Add a callback in the group of the given method name. Parameters string $methodName callable $callback
getCallbacks() getCallbacks(string $methodName) : array<mixed,callable> Get callbacks for a given method name. Parameters string $methodName if you pass a name including the class (such as MyClass::myMethod), then class name is ignored. Returns array<mixed,callable>