public function __construct(ModuleManager $moduleManager, array $restConfig, array $rpcConfig) { $this->moduleManager = $moduleManager; $this->restConfig = array_keys($restConfig); $this->rpcConfig = array_keys($rpcConfig); }