ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
SerializerInterface.php
Go to the documentation of this file.
2
6
13{
14 const MAX_LENGTH = 255;
15
16
26 public function serialize(IdentificationInterface $identification) : string;
27
28
37 public function unserialize(string $serialized_string, IdentificationMap $map, ProviderFactory $provider_factory) : IdentificationInterface;
38
39
45 public function canHandle(string $serialized_identification) : bool;
46}
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.