PHP 클래스 Phan\Language\FQSEN\FullyQualifiedFunctionName

상속: extends FullyQualifiedGlobalStructuralElement, implements Phan\Language\FQSEN\FullyQualifiedFunctionLikeName
파일 보기 프로젝트 열기: etsy/phan 1 사용 예제들

공개 메소드들

메소드 설명
canonicalName ( string $name ) : string
fromClosureInContext ( Context $context ) : FullyQualifiedFunctionName
fromStringInContext ( string $fqsen_string, Context $context ) : FullyQualifiedFunctionName
isClosure ( ) : boolean

보호된 메소드들

메소드 설명
getNamespaceMapType ( ) : integer

메소드 상세

canonicalName() 공개 정적인 메소드

public static canonicalName ( string $name ) : string
$name string
리턴 string The canonical representation of the name of the object. Functions and Methods, for instance, lowercase their names.

fromClosureInContext() 공개 정적인 메소드

public static fromClosureInContext ( Context $context ) : FullyQualifiedFunctionName
$context Phan\Language\Context
리턴 FullyQualifiedFunctionName

fromStringInContext() 공개 정적인 메소드

public static fromStringInContext ( string $fqsen_string, Context $context ) : FullyQualifiedFunctionName
$fqsen_string string An FQSEN string like '\Namespace\Class'
$context Phan\Language\Context The context in which the FQSEN string was found
리턴 FullyQualifiedFunctionName

getNamespaceMapType() 보호된 정적인 메소드

protected static getNamespaceMapType ( ) : integer
리턴 integer The namespace map type such as \ast\flags\USE_NORMAL or \ast\flags\USE_FUNCTION

isClosure() 공개 메소드

public isClosure ( ) : boolean
리턴 boolean True if this FQSEN represents a closure