MediaWiki master
MediaWiki\Composer\ComposerSystemInterface Class Reference

Wrapper around low-level system functions, so that we can inject mocks when testing the MediaWiki\Composer\ComposerLaunchParallel class. More...

Public Member Functions

 exit (int $resultCode)
 
 getcwd ()
 
 print (string $message)
 
 putFileContents (string $path, string $data)
 

Detailed Description

Wrapper around low-level system functions, so that we can inject mocks when testing the MediaWiki\Composer\ComposerLaunchParallel class.

Note
GPL-2.0-or-later

Definition at line 13 of file ComposerSystemInterface.php.

Member Function Documentation

◆ exit()

MediaWiki\Composer\ComposerSystemInterface::exit ( int $resultCode)

◆ getcwd()

◆ print()

MediaWiki\Composer\ComposerSystemInterface::print ( string $message)

◆ putFileContents()

MediaWiki\Composer\ComposerSystemInterface::putFileContents ( string $path,
string $data )

Definition at line 23 of file ComposerSystemInterface.php.

References $path.


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