PHP Class VersionPress\Initialization\WpConfigSplitter

Extracts constants necessary for all environments (mostly constants changing directory layout) into tracked file.
Afficher le fichier Open project: versionpress/versionpress Class Usage Examples

Méthodes publiques

Méthode Description
ensureCommonConfigInclude ( $wpConfigPath, $commonConfigName = self::COMMON_CONFIG_NAME ) Adds include of common config if it's missing.
split ( $wpConfigPath, $commonConfigName = self::COMMON_CONFIG_NAME )

Method Details

ensureCommonConfigInclude() public static méthode

Adds include of common config if it's missing.
public static ensureCommonConfigInclude ( $wpConfigPath, $commonConfigName = self::COMMON_CONFIG_NAME )
$wpConfigPath
$commonConfigName

split() public static méthode

public static split ( $wpConfigPath, $commonConfigName = self::COMMON_CONFIG_NAME )