PHP 인터페이스 Pinq\Parsing\IMagicConstants

저자: Elliot Levin ([email protected])
파일 보기 프로젝트 열기: timetoogo/pinq 0 사용 예제들

공개 메소드들

메소드 설명
getClass ( ) : string Gets the value of the __CLASS__ magic constant.
getDirectory ( ) : string Gets the value of the __DIR__ magic constant.
getFile ( ) : string Gets the value of the __FILE__ magic constant.
getFunction ( boolean $isWithinClosure ) : string Gets the value of the __FUNCTION__ magic constant.
getMethod ( boolean $isWithinClosure ) : string Gets the value of the __METHOD__ magic constant.
getNamespace ( ) : string Gets the value of the __NAMESPACE__ magic constant.
getTrait ( ) : string Gets the value of the __TRAIT__ magic constant.

메소드 상세

getClass() 공개 메소드

Gets the value of the __CLASS__ magic constant.
public getClass ( ) : string
리턴 string

getDirectory() 공개 메소드

Gets the value of the __DIR__ magic constant.
public getDirectory ( ) : string
리턴 string

getFile() 공개 메소드

Gets the value of the __FILE__ magic constant.
public getFile ( ) : string
리턴 string

getFunction() 공개 메소드

Gets the value of the __FUNCTION__ magic constant.
public getFunction ( boolean $isWithinClosure ) : string
$isWithinClosure boolean If within a closure defined in the function
리턴 string

getMethod() 공개 메소드

Gets the value of the __METHOD__ magic constant.
public getMethod ( boolean $isWithinClosure ) : string
$isWithinClosure boolean If within a closure defined in the function
리턴 string

getNamespace() 공개 메소드

Gets the value of the __NAMESPACE__ magic constant.
public getNamespace ( ) : string
리턴 string

getTrait() 공개 메소드

Gets the value of the __TRAIT__ magic constant.
public getTrait ( ) : string
리턴 string