injectFn([$obj, 'publicMethod'])` * * `$context->injectFn([$this, 'publicMethod'])` * * `$context->injectFn(\Closure::fromCallable([$this, 'privateMethod']))` * * Note: the app container will be queried * * @param callable $fn * @throws ContainerExceptionInterface if at least one of the parameter can't be resolved * @throws Throwable any error the function invocation might cause * @return mixed|null the return value of the invoked function, if any * @since 20.0.0 */ public function injectFn(callable $fn); }