ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CoreIdentificationProvider.php
Go to the documentation of this file.
2
10{
11
15 public function identifier(string $identifier_string) : IdentificationInterface
16 {
17 if (isset(self::$instances[$identifier_string])) {
18 return self::$instances[$identifier_string];
19 }
20
21 $core_identification = new CoreIdentification($identifier_string, $this->class_name, $this->serializer, $this->provider->getProviderNameForPresentation());
22 $this->map->addToMap($core_identification);
23
24 return self::$instances[$identifier_string] = $core_identification;
25 }
26}
An exception for terminatinating execution or to throw for unit testing.
identifier(string $identifier_string)
IdentificationInterface use this CoreIdentification to put into your GlobalScreen-elements.