appContainer = $appContainer; } public function getAppContainer(): IAppContainer { return $this->appContainer; } public function getServerContainer(): IServerContainer { return $this->appContainer->get(IServerContainer::class); } public function injectFn(callable $fn) { return (new FunctionInjector($this->appContainer))->injectFn($fn); } }