-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTheliaDatabaseBackup.php
More file actions
29 lines (21 loc) · 747 Bytes
/
Copy pathTheliaDatabaseBackup.php
File metadata and controls
29 lines (21 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
namespace TheliaDatabaseBackup;
use Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator;
use Thelia\Module\BaseModule;
class TheliaDatabaseBackup extends BaseModule
{
/** @var string */
const DOMAIN_NAME = 'theliadatabasebackup';
/**
* Defines how services are loaded in your modules
*
* @param ServicesConfigurator $servicesConfigurator
*/
public static function configureServices(ServicesConfigurator $servicesConfigurator): void
{
$servicesConfigurator->load(self::getModuleCode().'\\', __DIR__)
->exclude([THELIA_MODULE_DIR . ucfirst(self::getModuleCode()). "/I18n/*"])
->autowire(true)
->autoconfigure(true);
}
}