PropertyStorage
in package
implements
HasAttributesInterface
uses
CustomMetadataTrait, UnserializeMemoryUsageSuppressionTrait
FinalYes
Table of Contents
Interfaces
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
$attributes
public
array<int, AttributeStorage>
$attributes
= []
$custom_metadata
public
array<string, _MetadataEntry>
$custom_metadata
= []
$deprecated
public
bool
$deprecated
= false
$description
public
string|null
$description
= null
$getter_method
public
string|null
$getter_method
= null
$has_default
public
bool
$has_default
= false
$internal
public
array<int, non-empty-string>
$internal
= []
$is_promoted
public
bool
$is_promoted
= false
$is_static
public
bool|null
$is_static
= null
$location
public
CodeLocation|null
$location
= null
$readonly
public
bool
$readonly
= false
$signature_type
public
Union|null
$signature_type
= null
$signature_type_location
public
CodeLocation|null
$signature_type_location
= null
$stmt_location
public
CodeLocation|null
$stmt_location
= null
$suggested_type
public
Union|null
$suggested_type
= null
$suppressed_issues
public
array<int, string>
$suppressed_issues
= []
$type
public
Union|null
$type
= null
$type_location
public
CodeLocation|null
$type_location
= null
$visibility
public
ClassLikeAnalyzer::VISIBILITY_*
$visibility
= \Psalm\Internal\Analyzer\ClassLikeAnalyzer::VISIBILITY_PUBLIC
Methods
__unserialize()
public
__unserialize(array<string|int, mixed> $properties) : void
Parameters
- $properties : array<string|int, mixed>
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>getInfo()
public
getInfo() : string