linkRenderer = $linkRenderer; $this->linkBatchFactory = $linkBatchFactory; $this->linkCache = $linkCache; $this->repoGroup = $repoGroup; $this->userLang = $userLang; $this->contLang = $contLang; $this->titleParser = $titleParser; $this->namespaceInfo = $namespaceInfo; $this->hookContainer = $hookContainer; } /** * @return CommentParser */ public function create() { return new CommentParser( $this->linkRenderer, $this->linkBatchFactory, $this->linkCache, $this->repoGroup, $this->userLang, $this->contLang, $this->titleParser, $this->namespaceInfo, $this->hookContainer ); } }