PHP 클래스 VersionPress\Initialization\WpConfigSplitter

Extracts constants necessary for all environments (mostly constants changing directory layout) into tracked file.
파일 보기 프로젝트 열기: versionpress/versionpress 1 사용 예제들

공개 메소드들

메소드 설명
ensureCommonConfigInclude ( $wpConfigPath, $commonConfigName = self::COMMON_CONFIG_NAME ) Adds include of common config if it's missing.
split ( $wpConfigPath, $commonConfigName = self::COMMON_CONFIG_NAME )

메소드 상세

ensureCommonConfigInclude() 공개 정적인 메소드

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

split() 공개 정적인 메소드

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