Метод | Описание | |
---|---|---|
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 | |
Результат | string[] |
public static getUnqualifiedNameFromFullyQualifiedName ( string $name ) : string | ||
$name | string | |
Результат | string |
public static hasNamespace ( string $typeName ) : boolean | ||
$typeName | string | |
Результат | boolean |
public static isFullyQualifiedName ( string $typeName ) : boolean | ||
$typeName | string | |
Результат | boolean |
public static isQualifiedName ( string $name ) : boolean | ||
$name | string | |
Результат | boolean |
public static normalizeToCanonicalName ( string $fullyQualifiedName ) : string | ||
$fullyQualifiedName | string | |
Результат | string |