Elgg
Version master
engine
classes
Elgg
PluginBootstrap.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg
;
4
5
use
Elgg\Di\PublicContainer
;
6
10
abstract
class
PluginBootstrap
implements
PluginBootstrapInterface
{
11
18
public
function
__construct
(
protected
\
ElggPlugin
$plugin
,
protected
PublicContainer
$dic) {
19
}
20
24
public
function
elgg
() {
25
return
$this->dic;
26
}
27
31
public
function
plugin
() {
32
return
$this->plugin
;
33
}
34
}
ElggPlugin
Plugin class containing helper functions for plugin activation/deactivation, dependency checking capa...
Definition:
ElggPlugin.php:17
Elgg\Di\PublicContainer
Definition:
PublicContainer.php:28
Elgg\PluginBootstrap
Plugin bootstrap.
Definition:
PluginBootstrap.php:10
Elgg\PluginBootstrap\plugin
plugin()
{Returns plugin entity this bootstrap is related to.\ElggPlugin}
Definition:
PluginBootstrap.php:31
Elgg\PluginBootstrap\elgg
elgg()
{Returns Elgg's public DI container.PublicContainer}
Definition:
PluginBootstrap.php:24
Elgg\PluginBootstrap\__construct
__construct(protected \ElggPlugin $plugin, protected PublicContainer $dic)
Constructor.
Definition:
PluginBootstrap.php:18
Elgg\PluginBootstrapInterface
Plugin bootstrap interface.
Definition:
PluginBootstrapInterface.php:10
Elgg
Definition:
ActionsService.php:3
$plugin
$plugin
Definition:
set_priority.php:16
Generated on Fri Aug 29 2025 00:01:58 for Elgg by
1.9.1