26 $str =
"{$identification->getClassName()}{$divider}{$identification->getInternalIdentifier()}";
41 list($class_name, $internal_identifier) = explode(self::DIVIDER, $serialized_string);
49 return $f->identifier($internal_identifier);
56 public function canHandle(
string $serialized_identification) : bool
58 return preg_match(
'/(.*?)\|(.*)/m', $serialized_identification) > 0;
An exception for terminatinating execution or to throw for unit testing.
Class CoreIdentificationProvider.
Class LostIdentification.
canHandle(string $serialized_identification)
@inheritDoc
serialize(IdentificationInterface $identification)
The string MUST be shorter than 64 characters.string LogicException whn longer 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)