ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
SerializerInterface.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Identification\Serializer
;
21
22
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
23
use
ILIAS\GlobalScreen\Identification\Map\IdentificationMap
;
24
use
ILIAS\GlobalScreen\Provider\ProviderFactory
;
25
use
LogicException
;
26
31
interface
SerializerInterface
32
{
33
public
const
MAX_LENGTH
= 255;
34
41
public
function
serialize
(
IdentificationInterface
$identification): string;
42
49
public
function
unserialize
(
string
$serialized_string,
IdentificationMap
$map,
ProviderFactory
$provider_factory):
IdentificationInterface
;
50
55
public
function
canHandle
(
string
$serialized_identification): bool;
56
}
LogicException
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:29
ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface\serialize
serialize(IdentificationInterface $identification)
The string MUST be shorter than 64 characters.
ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface\canHandle
canHandle(string $serialized_identification)
ILIAS\GlobalScreen\Identification\Map\IdentificationMap
Class IdentificationMap.
Definition:
IdentificationMap.php:28
ILIAS\GlobalScreen\Identification\Serializer
Definition:
CoreSerializer.php:21
IdentificationInterface
ProviderFactory
ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface\MAX_LENGTH
const MAX_LENGTH
Definition:
SerializerInterface.php:33
ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface
Interface SerializerInterface.
Definition:
SerializerInterface.php:31
ILIAS\GlobalScreen\Provider\ProviderFactory
Definition:
ProviderFactory.php:34
ILIAS\GlobalScreen\Identification\Serializer\SerializerInterface\unserialize
unserialize(string $serialized_string, IdentificationMap $map, ProviderFactory $provider_factory)
IdentificationMap
components
ILIAS
GlobalScreen
src
Identification
Serializer
SerializerInterface.php
Generated on Sun Aug 31 2025 23:03:01 for ILIAS by
1.8.13 (using
Doxyfile
)