phpDocumentor

CanBeDeprecated

Table of Contents

Methods

getDeprecations()  : array<string|int, Deprecation>
isDeprecated()  : bool
Checks whether this element is deprecated.
createDescription()  : Description
isDeprecatedByAttribute()  : bool
isDeprecatedByTag()  : bool

Methods

isDeprecated()

Checks whether this element is deprecated.

public isDeprecated() : bool
Return values
bool

createDescription()

private createDescription(string|null $param) : Description
Parameters
$param : string|null
Return values
Description

isDeprecatedByAttribute()

private isDeprecatedByAttribute() : bool
Tags
phpstan-assert-if-true

AttributedInterface $this

psalm-assert-if-true

AttributedInterface $this`[

Return values
bool

isDeprecatedByTag()

private isDeprecatedByTag() : bool
Return values
bool

        
On this page

Search results