19declare(strict_types=1);
39 public function __construct(
protected string $internal_identifier,
protected string $classname,
protected SerializerInterface $serializer,
protected string $provider_presentation_name)
48 return $this->serializer->serialize($this);
56 throw new LogicException(
"Please use the identification factory to unserialize");
64 return $this->classname;
72 return $this->internal_identifier;
84 $provider =
new $this->classname(
$DIC);
86 return $provider->getProviderNameForPresentation();
unserialize($serialized)
@inheritDoc
getInternalIdentifier()
@inheritDoc
__unserialize(array $data)
__construct(protected string $internal_identifier, protected string $classname, protected SerializerInterface $serializer, protected string $provider_presentation_name)
CoreIdentification constructor.
getClassName()
@inheritDoc
Interface IdentificationInterface.
getProviderNameForPresentation()
Interface SerializerInterface.