Method | Description | |
---|---|---|
findCurrentNamespaceName ( PHP_CodeSniffer_File $phpcsFile, integer $anyPointer ) : string | null | ||
getNameParts ( string $name ) : string[] | ||
getUnqualifiedNameFromFullyQualifiedName ( string $name ) : string | ||
hasNamespace ( string $typeName ) : boolean | ||
isFullyQualifiedName ( string $typeName ) : boolean | ||
isQualifiedName ( string $name ) : boolean | ||
isTypeInNamespace ( string $typeName, string $namespace ) : boolean | ||
normalizeToCanonicalName ( string $fullyQualifiedName ) : string |
public static getNameParts ( string $name ) : string[] | ||
$name | string | |
return | string[] |
public static getUnqualifiedNameFromFullyQualifiedName ( string $name ) : string | ||
$name | string | |
return | string |
public static hasNamespace ( string $typeName ) : boolean | ||
$typeName | string | |
return | boolean |
public static isFullyQualifiedName ( string $typeName ) : boolean | ||
$typeName | string | |
return | boolean |
public static isQualifiedName ( string $name ) : boolean | ||
$name | string | |
return | boolean |
public static normalizeToCanonicalName ( string $fullyQualifiedName ) : string | ||
$fullyQualifiedName | string | |
return | string |