Elgg  Version 3.0
services.php
Go to the documentation of this file.
1 <?php
7 use Elgg\Config;
10 use Elgg\Gatekeeper;
12 use Elgg\Logger;
21 
22 return [
23  'accounts' => new PhpDiResolver(Accounts::class, 'accounts'),
24  'config' => new PhpDiResolver(Config::class, 'config'),
25  'csrf' => new PhpDiResolver(Csrf::class, 'csrf'),
26  'db' => new PhpDiResolver(Database::class, 'publicDb'),
27  'events' => new PhpDiResolver(EventsService::class, 'events'),
28  'gatekeeper' => new PhpDiResolver(Gatekeeper::class, 'gatekeeper'),
29  'group_tools' => new PhpDiResolver(\Elgg\Groups\Tools::class, 'group_tools'),
30  'html_formatter' => new PhpDiResolver(HtmlFormatter::class, 'html_formatter'),
31  'hooks' => new PhpDiResolver(PluginHooksService::class, 'hooks'),
32  'locale' => new PhpDiResolver(LocaleService::class, 'localeService'),
33  'logger' => new PhpDiResolver(Logger::class, 'logger'),
34  'menus' => new PhpDiResolver(MenuService::class, 'menus'),
35  'session' => new PhpDiResolver(ElggSession::class, 'session'),
36  'system_messages' => new PhpDiResolver(SystemMessagesService::class, 'systemMessages'),
37  'table_columns' => new PhpDiResolver(ColumnFactory::class, 'table_columns'),
38  'translator' => new PhpDiResolver(Translator::class, 'translator'),
39 ];
Cacheable PHP-DI definition that pulls from Elgg&#39;s DIC.
Configuration exception.
class
Definition: placeholder.php:21