ILIAS  release_7 Revision v7.30-3-g800a261c036
SerializerInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
25use LogicException;
26
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}
An exception for terminatinating execution or to throw for unit testing.
unserialize(string $serialized_string, IdentificationMap $map, ProviderFactory $provider_factory)
serialize(IdentificationInterface $identification)
The string MUST be shorter than 64 characters.