ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
SerializerInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26use LogicException;
27
33{
34 public const MAX_LENGTH = 255;
35
42 public function serialize(IdentificationInterface $identification): string;
43
50 public function unserialize(string $serialized_string, IdentificationMap $map, ProviderFactory $provider_factory): IdentificationInterface;
51
56 public function canHandle(string $serialized_identification): bool;
57}
unserialize(string $serialized_string, IdentificationMap $map, ProviderFactory $provider_factory)
serialize(IdentificationInterface $identification)
The string MUST be shorter than 64 characters.