3declare(strict_types=1);
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;
Class CoreIdentificationProvider.
Class LostIdentification.
canHandle(string $serialized_identification)
@inheritDoc
serialize(IdentificationInterface $identification)
The string MUST be shorter than 64 characters.
unserialize(string $serialized_string, IdentificationMap $map, ProviderFactory $provider_factory)
IdentificationInterface
Interface IdentificationInterface.
Interface SerializerInterface.
Interface ProviderFactory.
isRegistered(string $class_name)
getProviderByClassName(string $class_name)
isInstanceCreationPossible(string $class_name)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...