PHP Class VersionPress\Tests\Utils\TestRunnerOptions
-
option-name on command line (written as
--option-name=...
-
VP_OPTION_NAME as an environment variable
-
optionName as a property on this class
Command-line parameters take precedence over env variables.
Afficher le fichier
Open project: versionpress/versionpress
Class Usage Examples
Méthodes publiques
Méthodes publiques
Méthodes protégées
Private Methods
Méthode |
Description |
|
getCliArgValue ( $testingOptionInPropertyConvention ) : string | boolean |
Wrapper around getopt() that supports property naming convention, e.g., 'optionName' instead of '--option-name' |
|
getEnvVarValue ( string $testingOptionInPropertyConvention ) : string | boolean |
Small wrapper around getenv() that properly converts something like 'optionName' to 'VP_OPTION_NAME'. |
|
Method Details
__construct()
protected méthode
getInstance()
public static méthode
Property Details
$forceSetup public_oe property
public string $forceSetup |
Résultat |
string |
|