ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
SerializerInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
21 
25 use 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 }
serialize(IdentificationInterface $identification)
The string MUST be shorter than 64 characters.
unserialize(string $serialized_string, IdentificationMap $map, ProviderFactory $provider_factory)