ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
AbstractPluginProvider.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
21 
24 
29 abstract class AbstractPluginProvider extends AbstractProvider implements PluginProvider
30 {
32 
36  public function __construct(Container $dic)
37  {
38  parent::__construct($dic);
39  $this->identification_provider = $dic->globalScreen()->identification()->plugin($this->getPluginID(), $this);
40  }
41 
45  abstract public function getPluginID(): string;
46 
50  public function id(): PluginIdentificationProvider
51  {
53  }
54 }
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
__construct(Container $dic, ilPlugin $plugin)
$dic
Definition: result.php:31