extends |
Type |
|---|
Type that allows to weakly reference a local PHP object using a scalar string and get the original object instance back using the string.
The local object is never serialized.
An exception is thrown when getting an object from a string back and the original object instance has been destroyed/released.
| Methods | ||
|---|---|---|
private
|
__clone()
|
# |
protected
|
init(): void
|
# |
public
|
getName(): string
|
# |
public
|
getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform): string
|
# |
public
|
convertToDatabaseValue($value, AbstractPlatform $platform): ?string
|
# |
public
|
convertToPHPValue($value, AbstractPlatform $platform): ?object
|
# |
public
|
requiresSQLCommentHint(AbstractPlatform $platform): bool
|
# |
| Properties | |||
|---|---|---|---|
private
|
?string
|
$instanceUid = null
|
# |
private
|
int
|
$localUidCounter
|
# |
private
|
WeakMap<object, LocalObjectHandle>
|
$handles
|
# |
private
|
array<int, WeakReference<LocalObjectHandle>>
|
$handlesIndex
|
# |