-
Notifications
You must be signed in to change notification settings - Fork 11
/
EAVKernelBundleLoader.php
78 lines (72 loc) · 3.23 KB
/
EAVKernelBundleLoader.php
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php /** @noinspection PhpUnnecessaryFullyQualifiedNameInspection */
/*
* This file is part of the CleverAge/EAVManager package.
*
* Copyright (c) 2015-2018 Clever-Age
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CleverAge\EAVManager;
/**
* Allow simple loading of all necessary bundles.
*/
class EAVKernelBundleLoader
{
/**
* Return the required bundles.
*
* @return array
*/
public static function getBundles(): array
{
// Dependencies
return [
// Required by SidusEAVBootstrapBundle
new \Mopa\Bundle\BootstrapBundle\MopaBootstrapBundle(),
// Required by SidusFilterBundle
new \WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
// Required by SidusEAVBootstrapBundle
new \Pinano\Select2Bundle\PinanoSelect2Bundle(),
// Required by SidusFileUploadBundle
new \Oneup\UploaderBundle\OneupUploaderBundle(),
// Required by SidusFileUploadBundle
new \Oneup\FlysystemBundle\OneupFlysystemBundle(),
// Sidus bundles
// Base bundle containing many dependencies
new \Sidus\BaseBundle\SidusBaseBundle(),
// Base bundle for serializer
new \Sidus\BaseSerializerBundle\SidusBaseSerializerBundle(),
// Base bundle for EAV model
new \Sidus\EAVModelBundle\SidusEAVModelBundle(),
// Data filtering based on user input
new \Sidus\FilterBundle\SidusFilterBundle(),
// Data filtering with EAV support
new \Sidus\EAVFilterBundle\SidusEAVFilterBundle(),
// Bootstrap integration + additional EAV components
new \Sidus\EAVBootstrapBundle\SidusEAVBootstrapBundle(),
// DataGrid made easy
new \Sidus\DataGridBundle\SidusDataGridBundle(),
// Easily attach file to doctrine's entities
new \Sidus\FileUploadBundle\SidusFileUploadBundle(),
// Very basic admin configuration in YML to regroup entities and route actions easily
new \Sidus\AdminBundle\SidusAdminBundle(),
// Additionnal Bundles
// TinyMCE WYSIWYG integration
new \Stfalcon\Bundle\TinymceBundle\StfalconTinymceBundle(),
// Automatic image resizing
new \Liip\ImagineBundle\LiipImagineBundle(),
// Default cache system
new \Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle(),
// Simple permission management
new \CleverAge\PermissionBundle\CleverAgePermissionBundle(),
// CleverAge EAVManager
new \CleverAge\EAVManager\EAVModelBundle\CleverAgeEAVManagerEAVModelBundle(),
new \CleverAge\EAVManager\LayoutBundle\CleverAgeEAVManagerLayoutBundle(),
new \CleverAge\EAVManager\AdminBundle\CleverAgeEAVManagerAdminBundle(),
new \CleverAge\EAVManager\UserBundle\CleverAgeEAVManagerUserBundle(),
new \CleverAge\EAVManager\SecurityBundle\CleverAgeEAVManagerSecurityBundle(),
new \CleverAge\EAVManager\AssetBundle\CleverAgeEAVManagerAssetBundle(),
];
}
}