ILIAS  release_7 Revision v7.30-3-g800a261c036
PluginIdentification.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
23
33{
37 protected $plugin_id = "";
38
42 public function __construct(
43 string $plugin_id,
45 string $classname,
48 ) {
54 );
55 $this->plugin_id = $plugin_id;
56 }
57
61 public function getPluginId() : string
62 {
63 return $this->plugin_id;
64 }
65
69 public function getProviderNameForPresentation() : string
70 {
71 return $this->plugin_id;
72 }
73}
An exception for terminatinating execution or to throw for unit testing.
__construct(string $plugin_id, string $internal_identifier, string $classname, SerializerInterface $serializer, string $provider_presentation_name)
@inheritDoc
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc