메소드 | 설명 | |
---|---|---|
loadConfigValue ( string $commandName, array $configValues, array $commandValue = null, array $defaultValue = null ) : array | This method parses the config file, if exists, and determines the real option value. | |
loadConfigValues ( string $commandName, array $configValues, array $commandValues = [], array $defaultValues = [] ) : array | This method parses the config file, if exists, and determines the real options values. |
public loadConfigValue ( string $commandName, array $configValues, array $commandValue = null, array $defaultValue = null ) : array | ||
$commandName | string | Command called |
$configValues | array | Config values |
$commandValue | array | Value defined in command |
$defaultValue | array | Default value to use if this is not defined |
리턴 | array | $usableValues Usable values |
public loadConfigValues ( string $commandName, array $configValues, array $commandValues = [], array $defaultValues = [] ) : array | ||
$commandName | string | Command called |
$configValues | array | Config values |
$commandValues | array | Values defined in command |
$defaultValues | array | Default values to use if these are not defined |
리턴 | array | $usableValues Usable values |