24 $divider = self::DIVIDER;
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;
isRegistered(string $class_name)
canHandle(string $serialized_identification)
Interface IdentificationInterface.
Interface ProviderFactoryInterface.
Class NullIdentification.
serialize(IdentificationInterface $identification)
The string MUST be shorter than 64 characters.string
Class CoreIdentificationProvider.
Interface SerializerInterface.
isInstanceCreationPossible(string $class_name)
getProviderByClassName(string $class_name)
unserialize(string $serialized_string, IdentificationMap $map, ProviderFactoryInterface $provider_factory)
IdentificationInterface