MediaWiki  1.23.2
ComposerPackageModifier Class Reference

@licence GNU GPL v2+ More...

Public Member Functions

 __construct (Package $package, ComposerVersionNormalizer $versionNormalizer, MediaWikiVersionFetcher $versionFetcher)
 
 setProvidesMediaWiki ()
 

Public Attributes

const MEDIAWIKI_PACKAGE_NAME = 'mediawiki/mediawiki'
 

Protected Attributes

 $package
 
 $versionFetcher
 
 $versionNormalizer
 

Private Member Functions

 getMediaWikiVersionConstraint ()
 
 newMediaWikiLink ()
 
 setLinkAsProvides (Link $link)
 

Detailed Description

@licence GNU GPL v2+

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Definition at line 11 of file ComposerPackageModifier.php.

Constructor & Destructor Documentation

◆ __construct()

ComposerPackageModifier::__construct ( Package  $package,
ComposerVersionNormalizer  $versionNormalizer,
MediaWikiVersionFetcher  $versionFetcher 
)

Definition at line 19 of file ComposerPackageModifier.php.

References $versionFetcher, and $versionNormalizer.

Member Function Documentation

◆ getMediaWikiVersionConstraint()

ComposerPackageModifier::getMediaWikiVersionConstraint ( )
private

Definition at line 47 of file ComposerPackageModifier.php.

References $version.

Referenced by newMediaWikiLink().

◆ newMediaWikiLink()

ComposerPackageModifier::newMediaWikiLink ( )
private

Definition at line 33 of file ComposerPackageModifier.php.

References $link, $version, and getMediaWikiVersionConstraint().

Referenced by setProvidesMediaWiki().

◆ setLinkAsProvides()

ComposerPackageModifier::setLinkAsProvides ( Link  $link)
private

Definition at line 29 of file ComposerPackageModifier.php.

References $link, and array().

Referenced by setProvidesMediaWiki().

◆ setProvidesMediaWiki()

ComposerPackageModifier::setProvidesMediaWiki ( )

Definition at line 25 of file ComposerPackageModifier.php.

References newMediaWikiLink(), and setLinkAsProvides().

Member Data Documentation

◆ $package

ComposerPackageModifier::$package
protected

Definition at line 15 of file ComposerPackageModifier.php.

◆ $versionFetcher

ComposerPackageModifier::$versionFetcher
protected

Definition at line 17 of file ComposerPackageModifier.php.

Referenced by __construct().

◆ $versionNormalizer

ComposerPackageModifier::$versionNormalizer
protected

Definition at line 16 of file ComposerPackageModifier.php.

Referenced by __construct().

◆ MEDIAWIKI_PACKAGE_NAME

const ComposerPackageModifier::MEDIAWIKI_PACKAGE_NAME = 'mediawiki/mediawiki'

Definition at line 13 of file ComposerPackageModifier.php.


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