ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
CoreIdentificationProvider.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
29{
33 public function identifier(string $identifier_string): IdentificationInterface
34 {
35 if (isset(self::$instances[$identifier_string])) {
36 return self::$instances[$identifier_string];
37 }
38
39 $core_identification = new CoreIdentification(
40 $identifier_string,
41 $this->class_name,
42 $this->serializer,
43 $this->provider->getProviderNameForPresentation()
44 );
45 $this->map->addToMap($core_identification);
46
47 return self::$instances[$identifier_string] = $core_identification;
48 }
49}
identifier(string $identifier_string)
IdentificationInterface use this CoreIdentification to put into your GlobalScreen-elements.