PHP 클래스 JBZoo\Utils\Env

파일 보기 프로젝트 열기: jbzoo/utils 1 사용 예제들

공개 메소드들

메소드 설명
convert ( string $value, integer $options = self::VAR_STRING ) : mixed Converts the type of values like "true", "false", "null" or "123".
get ( string $name, string $default = null, integer $options = self::VAR_STRING ) : mixed Returns an environment variable.
getBinary ( ) : string
getName ( ) : string
getNameWithVersion ( ) : string
getVendorUrl ( ) : string
getVersion ( ) : string
hasPHPDBGCodeCoverage ( ) : boolean
hasXdebug ( ) : boolean
isHHVM ( ) : boolean
isPHP ( ) : boolean
isPHPDBG ( ) : boolean

메소드 상세

convert() 공개 정적인 메소드

Converts the type of values like "true", "false", "null" or "123".
public static convert ( string $value, integer $options = self::VAR_STRING ) : mixed
$value string
$options integer
리턴 mixed

get() 공개 정적인 메소드

Returns an environment variable.
public static get ( string $name, string $default = null, integer $options = self::VAR_STRING ) : mixed
$name string
$default string
$options integer
리턴 mixed

getBinary() 공개 정적인 메소드

사용 중단:
public static getBinary ( ) : string
리턴 string

getName() 공개 정적인 메소드

사용 중단:
public static getName ( ) : string
리턴 string

getNameWithVersion() 공개 정적인 메소드

사용 중단:
public static getNameWithVersion ( ) : string
리턴 string

getVendorUrl() 공개 정적인 메소드

사용 중단:
public static getVendorUrl ( ) : string
리턴 string

getVersion() 공개 정적인 메소드

사용 중단:
public static getVersion ( ) : string
리턴 string

hasPHPDBGCodeCoverage() 공개 정적인 메소드

사용 중단:
public static hasPHPDBGCodeCoverage ( ) : boolean
리턴 boolean

hasXdebug() 공개 정적인 메소드

사용 중단:
public static hasXdebug ( ) : boolean
리턴 boolean

isHHVM() 공개 정적인 메소드

사용 중단:
public static isHHVM ( ) : boolean
리턴 boolean

isPHP() 공개 정적인 메소드

사용 중단:
public static isPHP ( ) : boolean
리턴 boolean

isPHPDBG() 공개 정적인 메소드

사용 중단:
public static isPHPDBG ( ) : boolean
리턴 boolean