PHP Class SlevomatCodingStandard\Helpers\UseStatement

Afficher le fichier Open project: slevomat/coding-standard Class Usage Examples

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

compareByType() public méthode

public compareByType ( self $that ) : integer
$that self
Résultat integer

getCanonicalNameAsReferencedInFile() public méthode

getFullyQualifiedTypeName() public méthode

public getFullyQualifiedTypeName ( ) : string
Résultat string

getNameAsReferencedInFile() public méthode

public getNameAsReferencedInFile ( ) : string
Résultat string

getPointer() public méthode

public getPointer ( ) : integer
Résultat integer

hasSameType() public méthode

public hasSameType ( self $that ) : boolean
$that self
Résultat boolean

isConstant() public méthode

public isConstant ( ) : boolean
Résultat boolean

isFunction() public méthode

public isFunction ( ) : boolean
Résultat boolean

normalizedNameAsReferencedInFile() public static méthode

public static normalizedNameAsReferencedInFile ( string $name ) : string
$name string
Résultat string