PHPClassConstant
class PHPClassConstant extends BasePHPElement (View source)
Traits
Properties
Link[] | $links | from PHPDocElement | |
string | $phpdoc | from PHPDocElement | |
See[] | $see | from PHPDocElement | |
Since[] | $sinceTags | from PHPDocElement | |
Deprecated[] | $deprecatedTags | from PHPDocElement | |
RemovedTag[] | $removedTags | from PHPDocElement | |
Param[] | $paramTags | from PHPDocElement | |
Return_[] | $returnTags | from PHPDocElement | |
Var_[] | $varTags | from PHPDocElement | |
string[] | $tagNames | from PHPDocElement | |
bool | $hasInheritDocTag | from PHPDocElement | |
bool | $hasInternalMetaTag | from PHPDocElement | |
Template> | $templateTypes | from PHPDocElement | |
string|null | $name | from BasePHPElement | |
$stubBelongsToCore | from BasePHPElement | ||
Exception|null | $parseError | from BasePHPElement | |
$mutedProblems | from BasePHPElement | ||
$availableVersionsRangeFromAttribute | from BasePHPElement | ||
string|null | $sourceFilePath | from BasePHPElement | |
bool | $duplicateOtherElement | from BasePHPElement | |
$stubObjectHash | from BasePHPElement | ||
$id | from BasePHPElement | ||
$isDeprecated | from BasePHPElement | ||
bool|int|string|float|null | $value | ||
string|null | $parentId | ||
string|null | $visibility |
Methods
readObjectFromStubNode(Node $node)
No description
static array
convertParsedTypeToArray(Name|Identifier|NullableType|string|UnionType|null|Type $type)
No description
from
BasePHPElement
static string
getTypeNameFromNode(Name|Identifier|NullableType|string $type)
No description
from
BasePHPElement
static array
findAvailableVersionsRangeFromAttribute(array $attrGroups)
No description
from
BasePHPElement
Details
protected
collectTags(Node $node)
No description
BasePHPElement
readObjectFromReflection(Reflector $reflectionObject)
No description
BasePHPElement
readObjectFromStubNode(Node $node)
No description
readMutedProblems(stdClass|array $jsonData)
No description
static string
getFQN(Node $node)
No description
static string
getShortName(Node $node)
No description
static protected array
getReflectionTypeAsArray(ReflectionType|null $type)
No description
static protected array
convertParsedTypeToArray(Name|Identifier|NullableType|string|UnionType|null|Type $type)
No description
static protected string
getTypeNameFromNode(Name|Identifier|NullableType|string $type)
No description
static protected string[]
findTypesFromAttribute(array $attrGroups)
No description
static protected array
findAvailableVersionsRangeFromAttribute(array $attrGroups)
No description
static protected bool
hasTentativeTypeAttribute(array $attrGroups)
No description
bool
hasMutedProblem(int $stubProblemType)
No description
checkDeprecationTag($node)
No description