28 $divider = self::DIVIDER;
30 $str =
"{$identification->getPluginId()}{$divider}{$identification->getClassName()}{$divider}{$identification->getInternalIdentifier()}";
45 list($plugin_id, $class_name, $internal_identifier) = explode(self::DIVIDER, $serialized_string);
53 return $f->identifier($internal_identifier);
60 public function canHandle(
string $serialized_identification) : bool
62 return preg_match(
'/(.*?)\|(.*?)\|(.*)/m', $serialized_identification) > 0;
Class PluginIdentificationProvider.
isRegistered(string $class_name)
Interface IdentificationInterface.
Interface ProviderFactoryInterface.
serialize(IdentificationInterface $identification)
The string MUST be shorter than 64 characters.
canHandle(string $serialized_identification)
Interface SerializerInterface.
isInstanceCreationPossible(string $class_name)
getProviderByClassName(string $class_name)
Class NullPluginIdentification.
unserialize(string $serialized_string, IdentificationMap $map, ProviderFactoryInterface $provider_factory)
IdentificationInterface