Documentation

PropertyStorage
in package
implements HasAttributesInterface uses CustomMetadataTrait, UnserializeMemoryUsageSuppressionTrait

FinalYes

Table of Contents

Interfaces

HasAttributesInterface

Properties

$allow_private_mutation  : bool
Whether or not to allow mutation by internal methods
$attributes  : array<int, AttributeStorage>
$custom_metadata  : array<string, _MetadataEntry>
$deprecated  : bool
$description  : string|null
$getter_method  : string|null
$has_default  : bool
$internal  : array<int, non-empty-string>
$is_promoted  : bool
$is_static  : bool|null
$location  : CodeLocation|null
$readonly  : bool
$signature_type  : Union|null
$signature_type_location  : CodeLocation|null
$stmt_location  : CodeLocation|null
$suggested_type  : Union|null
$suppressed_issues  : array<int, string>
$type  : Union|null
$type_location  : CodeLocation|null
$visibility  : ClassLikeAnalyzer::VISIBILITY_*

Methods

__unserialize()  : void
getAttributeStorages()  : array<int, AttributeStorage>
Returns a list of AttributeStorages with the same order they appear in the AttributeGroups they come from.
getInfo()  : string

Properties

$allow_private_mutation

Whether or not to allow mutation by internal methods

public bool $allow_private_mutation = false

$suppressed_issues

public array<int, string> $suppressed_issues = []

$visibility

public ClassLikeAnalyzer::VISIBILITY_* $visibility = \Psalm\Internal\Analyzer\ClassLikeAnalyzer::VISIBILITY_PUBLIC

Methods

getAttributeStorages()

Returns a list of AttributeStorages with the same order they appear in the AttributeGroups they come from.

public getAttributeStorages() : array<int, AttributeStorage>
Return values
array<int, AttributeStorage>

        
On this page

Search results