AvailableVersionParserInterface
interface AvailableVersionParserInterface (View source)
Interface for parsing available version information from PhpDoc and attributes.
Implementations should merge version data from both PhpDoc tags (@since/@removed) and attributes (PhpStormStubsElementAvailable), applying consistent precedence rules.
Methods
array
parseAvailableVersion(ParsedPhpDoc $phpDoc, array $attributes, array $imports = [])
Parse available version information from PhpDoc and attributes.
Details
array
parseAvailableVersion(ParsedPhpDoc $phpDoc, array $attributes, array $imports = [])
Parse available version information from PhpDoc and attributes.
Precedence: Attributes (PhpStormStubsElementAvailable) override PhpDoc tags.