static function ( MediaWikiServices $services ): VisualEditorHookRunner { return new VisualEditorHookRunner( $services->getHookContainer() ); }, VisualEditorParsoidClientFactory::SERVICE_NAME => static function ( MediaWikiServices $services ): VisualEditorParsoidClientFactory { return new VisualEditorParsoidClientFactory( $services->getPageRestHelperFactory() ); }, ];