Orpheus

EntityMetadata
in package

Table of Contents

Properties

$descriptor  : EntityDescriptor
$fields  : array<string|int, mixed>|null
The fields of this object
$instances  : array<string|int, PermanentEntity>
Cache of all object instances
$sqlAdapter  : AbstractSqlAdapter

Methods

__construct()  : mixed
EntityMetadata constructor
cacheInstance()  : void
clearAllInstances()  : void
Remove all instances
clearDeletedInstances()  : void
Remove deleted instances from cache
getDescriptor()  : EntityDescriptor
getFields()  : array<string|int, mixed>
getInstance()  : PermanentEntity|null
getInstances()  : array<string|int, mixed>
getName()  : string
getSqlAdapter()  : AbstractSqlAdapter

Properties

$fields

The fields of this object

protected array<string|int, mixed>|null $fields = null

Methods

clearAllInstances()

Remove all instances

public clearAllInstances() : void

clearDeletedInstances()

Remove deleted instances from cache

public clearDeletedInstances() : void

getFields()

public getFields() : array<string|int, mixed>
Return values
array<string|int, mixed>

getInstances()

public getInstances() : array<string|int, mixed>
Return values
array<string|int, mixed>

							
On this page

Search results