PHP 클래스 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.
파일 보기
프로젝트 열기: versionpress/versionpress
1 사용 예제들
공개 프로퍼티들
공개 메소드들
보호된 메소드들
비공개 메소드들
메소드 |
설명 |
|
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'. |
|
메소드 상세
프로퍼티 상세
public string $forceSetup |
리턴 |
string |
|