MediaWiki  1.28.0
ComposerPackageModifier Class Reference

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

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

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

Definition at line 19 of file ComposerPackageModifier.php.

References $versionFetcher, and $versionNormalizer.

Member Function Documentation

ComposerPackageModifier::getMediaWikiVersionConstraint ( )
private

Definition at line 49 of file ComposerPackageModifier.php.

Referenced by newMediaWikiLink().

ComposerPackageModifier::newMediaWikiLink ( )
private

Definition at line 35 of file ComposerPackageModifier.php.

References $link, and getMediaWikiVersionConstraint().

Referenced by setProvidesMediaWiki().

ComposerPackageModifier::setLinkAsProvides ( Link  $link)
private

Definition at line 31 of file ComposerPackageModifier.php.

Referenced by setProvidesMediaWiki().

ComposerPackageModifier::setProvidesMediaWiki ( )

Definition at line 27 of file ComposerPackageModifier.php.

References newMediaWikiLink(), and setLinkAsProvides().

Member Data Documentation

ComposerPackageModifier::$package
protected

Definition at line 15 of file ComposerPackageModifier.php.

ComposerPackageModifier::$versionFetcher
protected

Definition at line 17 of file ComposerPackageModifier.php.

Referenced by __construct().

ComposerPackageModifier::$versionNormalizer
protected

Definition at line 16 of file ComposerPackageModifier.php.

Referenced by __construct().

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: