abstract class BasePHPElement (View source)

Traits

Properties

$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
$stubBelongsToCore
Exception|null $parseError
$mutedProblems
$availableVersionsRangeFromAttribute
string|null $sourceFilePath
bool $duplicateOtherElement
$stubObjectHash
$id
$isDeprecated

Methods

collectTags(Node $node)

No description

readObjectFromReflection(Reflector $reflectionObject)

No description

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 array
getReflectionTypeAsArray(ReflectionType|null $type)

No description

static array
convertParsedTypeToArray(Name|Identifier|NullableType|string|UnionType|null|Type $type)

No description

static string
getTypeNameFromNode(Name|Identifier|NullableType|string $type)

No description

static string[]
findTypesFromAttribute(array $attrGroups)

No description

static array
findAvailableVersionsRangeFromAttribute(array $attrGroups)

No description

static bool
hasTentativeTypeAttribute(array $attrGroups)

No description

bool
hasMutedProblem(int $stubProblemType)

No description

checkDeprecationTag($node)

No description

Details

protected collectTags(Node $node)

No description

Parameters

Node $node

abstract BasePHPElement readObjectFromReflection(Reflector $reflectionObject)

No description

Parameters

Reflector $reflectionObject

Return Value

BasePHPElement

abstract BasePHPElement readObjectFromStubNode(Node $node)

No description

Parameters

Node $node

Return Value

BasePHPElement

abstract readMutedProblems(stdClass|array $jsonData)

No description

Parameters

stdClass|array $jsonData

static string getFQN(Node $node)

No description

Parameters

Node $node

Return Value

string

static string getShortName(Node $node)

No description

Parameters

Node $node

Return Value

string

static protected array getReflectionTypeAsArray(ReflectionType|null $type)

No description

Parameters

ReflectionType|null $type

Return Value

array

static protected array convertParsedTypeToArray(Name|Identifier|NullableType|string|UnionType|null|Type $type)

No description

Parameters

Name|Identifier|NullableType|string|UnionType|null|Type $type

Return Value

array

static protected string getTypeNameFromNode(Name|Identifier|NullableType|string $type)

No description

Parameters

Name|Identifier|NullableType|string $type

Return Value

string

static protected string[] findTypesFromAttribute(array $attrGroups)

No description

Parameters

array $attrGroups

Return Value

string[]

static protected array findAvailableVersionsRangeFromAttribute(array $attrGroups)

No description

Parameters

array $attrGroups

Return Value

array

static protected bool hasTentativeTypeAttribute(array $attrGroups)

No description

Parameters

array $attrGroups

Return Value

bool

bool hasMutedProblem(int $stubProblemType)

No description

Parameters

int $stubProblemType

Return Value

bool

checkDeprecationTag($node)

No description

Parameters

$node