3 declare(strict_types=1);
38 $divider = self::DIVIDER;
40 $str =
"{$identification->getClassName()}{$divider}{$identification->getInternalIdentifier()}";
54 list($class_name, $internal_identifier) = explode(self::DIVIDER, $serialized_string);
62 return $f->identifier($internal_identifier);
68 public function canHandle(
string $serialized_identification): bool
70 return preg_match(
'/(.*?)\|(.*)/m', $serialized_identification) > 0;
getProviderByClassName(string $class_name)
Class LostIdentification.
isRegistered(string $class_name)
canHandle(string $serialized_identification)
Interface IdentificationInterface.
unserialize(string $serialized_string, IdentificationMap $map, ProviderFactory $provider_factory)
IdentificationInterface
serialize(IdentificationInterface $identification)
The string MUST be shorter than 64 characters.
isInstanceCreationPossible(string $class_name)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class CoreIdentificationProvider.
Interface SerializerInterface.
Interface ProviderFactory.