Documentation

Transcript
in package
Uses SerializableImplementation

The transcript is used for the session to log the individual accesses.

Tags
category

Framework

author

schukai GmbH [email protected]

license

http://alvine.io/license/ Licence

link

Alvine

link

RFC 2109 - HTTP State Management Mechanism

link

Parameterbeschreibung

since
20110904

Table of Contents

Properties

$hasAssociatedProperties  : boolean
$hasVolatileProperties  : boolean
$timestamp  : DateTime

Methods

__construct()  : mixed
Neues Transcript-Objekt erstellen
__serialize()  : array<string|int, mixed>
Serialization of the object and data. In the serialized object also stores meta-information for matching.
__unserialize()  : void
getTimestamp()  : DateTime
Holt den Zeitstempel des Eintrages
hasAssociatedProperties()  : boolean
Check if the object has associative properties
hasVolatileProperties()  : boolean
Prüfen ob das Objekt volatile Eigenschaften besitzt
checkAndAdjustSerialisation()  : array<string|int, mixed>
Dealing with versions

Properties

Methods

__construct()

Neues Transcript-Objekt erstellen

public __construct() : mixed

__serialize()

Serialization of the object and data. In the serialized object also stores meta-information for matching.

public __serialize() : array<string|int, mixed>

If a derived class is not to be serializable, then this * method must be overridden and throw an exception. this method must be overridden and throw an exception.

Properties starting with volatile or associated. are handled separately. Properties with prefix volatile are not serialized. For properties with the prefix associated, only the * ID of the object is serialized. ID of the object is serialized. If no object is stored in the property is stored in the property, a TypeException is thrown.

Tags
see
https://php.watch/versions/8.1/serializable-deprecated
Return values
array<string|int, mixed>

checkAndAdjustSerialisation()

Dealing with versions

protected checkAndAdjustSerialisation(array $serialization) : array<string|int, mixed>

This method checks an object and ideally repairs older copies. If an old copy cannot be restored be restored, an exception is thrown.

This method must be overridden by the derived classes. be overridden. In the derived class, * the parent method should be called. the parent method should be called.

Parameters
$serialization : array

Daten des serialisiertes Objekts

Tags
throws
UnserializeException

Keine Übereinstimmung

Return values
array<string|int, mixed>

        
On this page

Search results