PHP 클래스 SlevomatCodingStandard\Helpers\UseStatement

파일 보기 프로젝트 열기: slevomat/coding-standard 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $nameAsReferencedInFile, string $fullyQualifiedClassName, integer $usePointer, string $type )
compareByType ( self $that ) : integer
getCanonicalNameAsReferencedInFile ( ) : string
getFullyQualifiedTypeName ( ) : string
getNameAsReferencedInFile ( ) : string
getPointer ( ) : integer
hasSameType ( self $that ) : boolean
isConstant ( ) : boolean
isFunction ( ) : boolean
normalizedNameAsReferencedInFile ( string $name ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( string $nameAsReferencedInFile, string $fullyQualifiedClassName, integer $usePointer, string $type )
$nameAsReferencedInFile string
$fullyQualifiedClassName string
$usePointer integer T_USE pointer
$type string

compareByType() 공개 메소드

public compareByType ( self $that ) : integer
$that self
리턴 integer

getCanonicalNameAsReferencedInFile() 공개 메소드

getFullyQualifiedTypeName() 공개 메소드

getNameAsReferencedInFile() 공개 메소드

getPointer() 공개 메소드

public getPointer ( ) : integer
리턴 integer

hasSameType() 공개 메소드

public hasSameType ( self $that ) : boolean
$that self
리턴 boolean

isConstant() 공개 메소드

public isConstant ( ) : boolean
리턴 boolean

isFunction() 공개 메소드

public isFunction ( ) : boolean
리턴 boolean

normalizedNameAsReferencedInFile() 공개 정적인 메소드

public static normalizedNameAsReferencedInFile ( string $name ) : string
$name string
리턴 string