TYPO3
7.6
|
Public Member Functions | |
__construct ($baseDir=null) | |
merge (array $config) | |
get ($key, $flags=0) | |
all ($flags=0) | |
raw () | |
has ($key) | |
getBaseDir () | |
Static Public Member Functions | |
static | load (\Composer\Composer $composer) |
Public Attributes | |
const | RELATIVE_PATHS = 1 |
Static Public Attributes | |
static | $defaultConfig |
Protected Member Functions | |
process ($value, $flags) | |
realpath ($path) | |
Static Protected Member Functions | |
static | extractBaseDir (\Composer\Config $config) |
Protected Attributes | |
$config | |
$baseDir | |
Enter descriptions here
Definition at line 7 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
__construct | ( | $baseDir = null | ) |
string | $baseDir |
Definition at line 38 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
References Config\$baseDir.
all | ( | $flags = 0 | ) |
int | $flags | Options (see class constants) |
Definition at line 88 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
|
staticprotected |
\Composer\Config | $config |
Definition at line 188 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
get | ( | $key, | |
$flags = 0 |
|||
) |
Returns a setting
string | $key | |
int | $flags | Options (see class constants) |
\RuntimeException |
Definition at line 66 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
References Config\process(), and Config\realpath().
getBaseDir | ( | ) |
Definition at line 156 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
References Config\$baseDir.
has | ( | $key | ) |
Checks whether a setting exists
string | $key |
Definition at line 112 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
|
static |
\Composer\Composer | $composer |
Definition at line 164 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
References Config\$baseDir, and Config\$config.
Referenced by ExtensionInstaller\initializeConfiguration(), CoreInstaller\initializeConfiguration(), and AutoloadConnector\insertComposerModeConstant().
merge | ( | array | $config | ) |
Merges new config values with the existing ones (overriding)
array | $config |
Definition at line 49 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
|
protected |
Replaces {$refs} inside a config string
string | $value | a config string that can contain {$refs-to-other-config} |
int | $flags | Options (see class constants) |
Definition at line 123 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
References Config\$config.
Referenced by Config\get().
raw | ( | ) |
Definition at line 100 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
|
protected |
Turns relative paths in absolute paths without realpath()
Since the dirs might not exist yet we can not call realpath or it will fail.
string | $path |
Definition at line 145 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
Referenced by Config\get().
|
protected |
Definition at line 32 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
Referenced by Config\__construct(), Config\getBaseDir(), and Config\load().
|
protected |
Definition at line 27 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
Referenced by Config\load(), and Config\process().
|
static |
Definition at line 14 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.
const RELATIVE_PATHS = 1 |
Definition at line 9 of file cms-composer-installers/Classes/TYPO3/CMS/Composer/Plugin/Config.php.