Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Diff\DispatchingEntityDiffVisualizer Class Reference

Class for dynamic dispatching of EntityDiffVisualizer. More...

+ Inheritance diagram for Wikibase\Repo\Diff\DispatchingEntityDiffVisualizer:
+ Collaboration diagram for Wikibase\Repo\Diff\DispatchingEntityDiffVisualizer:

Public Member Functions

 __construct (EntityDiffVisualizerFactory $diffVisualizerFactory, IContextSource $context)
 
 visualizeEntityContentDiff (EntityContentDiff $diff)
 

Private Attributes

 $diffVisualizerFactory
 
 $context
 

Detailed Description

Class for dynamic dispatching of EntityDiffVisualizer.

Author
Amir Sarabadani ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Diff\DispatchingEntityDiffVisualizer::__construct ( EntityDiffVisualizerFactory  $diffVisualizerFactory,
IContextSource  $context 
)

Member Function Documentation

◆ visualizeEntityContentDiff()

Wikibase\Repo\Diff\DispatchingEntityDiffVisualizer::visualizeEntityContentDiff ( EntityContentDiff  $diff)
Parameters
EntityContentDiff$diff
Returns
string HTML

Implements Wikibase\Repo\Diff\EntityDiffVisualizer.

Member Data Documentation

◆ $context

Wikibase\Repo\Diff\DispatchingEntityDiffVisualizer::$context
private

◆ $diffVisualizerFactory

Wikibase\Repo\Diff\DispatchingEntityDiffVisualizer::$diffVisualizerFactory
private

The documentation for this class was generated from the following file: