19declare(strict_types=1);
22use InvalidArgumentException;
41 if (!isset(self::$core_instance)) {
50 if (!isset(self::$plugin_instance)) {
64 if (
$plugin->canHandle($serialized_identification)) {
68 $core = $this->
core();
69 if ($core->canHandle($serialized_identification)) {
73 throw new InvalidArgumentException(
"Nobody can handle serialized identification '$serialized_identification'.");
An exception for terminatinating execution or to throw for unit testing.
fromSerializedIdentification(string $serialized_identification)
Interface SerializerInterface.