class PHPInterface extends BasePHPClass (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 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
$namespace from  PHPNamespacedElement
PHPMethod[] $methods from  BasePHPClass
PHPClassConstant[] $constants from  BasePHPClass
$isFinal from  BasePHPClass
$parentInterfaces

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

addConstant(PHPClassConstant $parsedConstant)

No description

getConstant(string $constantName, true $shouldSuitCurrentPhpVersion = true, false $fromReflection = false)

No description

addMethod(PHPMethod $parsedMethod)

No description

PHPMethod|null
getMethod(string $name, $shouldSuitCurrentPhpVersion = true, bool $fromReflection = false)

No description

PHPMethod|null
getMethodByHash(string $methodHash)

No description

Details

protected collectTags(Node $node)

No description

Parameters

Node $node

BasePHPElement readObjectFromReflection(Reflector $reflectionObject)

No description

Parameters

Reflector $reflectionObject

Return Value

BasePHPElement

BasePHPElement readObjectFromStubNode(Node $node)

No description

Parameters

Node $node

Return Value

BasePHPElement

readMutedProblems(stdClass|array $jsonData)

No description

Parameters

stdClass|array $jsonData

Exceptions

Exception

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

addConstant(PHPClassConstant $parsedConstant)

No description

Parameters

PHPClassConstant $parsedConstant

PHPClassConstant|null getConstant(string $constantName, true $shouldSuitCurrentPhpVersion = true, false $fromReflection = false)

No description

Parameters

string $constantName
true $shouldSuitCurrentPhpVersion
false $fromReflection

Return Value

PHPClassConstant|null

addMethod(PHPMethod $parsedMethod)

No description

Parameters

PHPMethod $parsedMethod

PHPMethod|null getMethod(string $name, $shouldSuitCurrentPhpVersion = true, bool $fromReflection = false)

No description

Parameters

string $name
$shouldSuitCurrentPhpVersion
bool $fromReflection

Return Value

PHPMethod|null

PHPMethod|null getMethodByHash(string $methodHash)

No description

Parameters

string $methodHash

Return Value

PHPMethod|null