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
Mostra file
Open project: slevomat/coding-standard
Class Usage Examples
Public Methods
Private Methods
Method Details
findReferencedNameEndPointer()
public static method
getAllReferencedNames()
public static method
public static getAllReferencedNames ( PHP_CodeSniffer_File $phpcsFile, integer $openTagPointer ) : ReferencedName[] |
$phpcsFile |
PHP_CodeSniffer_File |
|
$openTagPointer |
integer |
|
return |
ReferencedName[] |
referenced names |