PHP Class SlevomatCodingStandard\Helpers\ReferencedNameHelper
- extending a class, implementing an interface
- typehinting a class or an interface
- creating new instance of a class
- class whose static method or a property is accessed
- thrown and caught exception names
Following occurrences are not considered as a referenced name:
- namespace name
- type name in a use statement
- class name in a class definition
Afficher le fichier
Open project: slevomat/coding-standard
Class Usage Examples
Méthodes publiques
Private Methods
Method Details
findReferencedNameEndPointer()
public static méthode
getAllReferencedNames()
public static méthode
public static getAllReferencedNames ( PHP_CodeSniffer_File $phpcsFile, integer $openTagPointer ) : ReferencedName[] |
$phpcsFile |
PHP_CodeSniffer_File |
|
$openTagPointer |
integer |
|
Résultat |
ReferencedName[] |
referenced names |