This is the extension interface to implement if you want to describe
always-used class constant. To register it in the configuration file use the phpstan.constants.alwaysUsedClassConstantsExtension
service tag: ```
services:
-
class: App\PHPStan\MyExtension
tags:
- phpstan.constants.alwaysUsedClassConstantsExtension
Methods | ||
---|---|---|
public
|
isAlwaysUsed(ClassConstantReflection $constant): bool
|
# |