This repository was archived by the owner on Sep 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathWBWBootstrapBundle.php
More file actions
131 lines (112 loc) · 2.42 KB
/
WBWBootstrapBundle.php
File metadata and controls
131 lines (112 loc) · 2.42 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?php
/*
* This file is part of the bootstrap-bundle package.
*
* (c) 2018 WEBEWEB
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Bundle\BootstrapBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use WBW\Bundle\CoreBundle\Provider\AssetsProviderInterface;
/**
* Bootstrap bundle.
*
* @author webeweb <https://github.com/webeweb>
* @package WBW\Bundle\BootstrapBundle
*/
class WBWBootstrapBundle extends Bundle implements AssetsProviderInterface {
/**
* Bootstrap type "danger".
*
* @var string
*/
const BOOTSTRAP_TYPE_DANGER = "danger";
/**
* Bootstrap type "dark".
*
* @var string
*/
const BOOTSTRAP_TYPE_DARK = "dark";
/**
* Bootstrap type "default".
*
* @var string
*/
const BOOTSTRAP_TYPE_DEFAULT = "default";
/**
* Bootstrap type "info".
*
* @var string
*/
const BOOTSTRAP_TYPE_INFO = "info";
/**
* Bootstrap type "light".
*
* @var string
*/
const BOOTSTRAP_TYPE_LIGHT = "light";
/**
* Bootstrap type "primary".
*
* @var string
*/
const BOOTSTRAP_TYPE_PRIMARY = "primary";
/**
* Bootstrap type "secondary".
*
* @var string
*/
const BOOTSTRAP_TYPE_SECONDARY = "secondary";
/**
* Bootstrap type "success".
*
* @var string
*/
const BOOTSTRAP_TYPE_SUCCESS = "success";
/**
* Bootstrap type "warning".
*
* @var string
*/
const BOOTSTRAP_TYPE_WARNING = "warning";
/**
* Bootstrap version 3.
*
* @var string
*/
const BOOTSTRAP_VERSION_3 = "3.4.1";
/**
* Bootstrap version 4.
*
* @var string
*/
const BOOTSTRAP_VERSION_4 = "4.6.2";
/**
* Bootstrap version 5.
*
* @var string
*/
const BOOTSTRAP_VERSION_5 = "5.3.2";
/**
* Translation domain.
*
* @var string
*/
const TRANSLATION_DOMAIN = "WBWBootstrapBundle";
/**
* {@inheritDoc}
*/
public function getAssetsRelativeDirectory(): string {
return self::ASSETS_RELATIVE_DIRECTORY;
}
/**
* Get the translation domain.
*
* @return string Returns the translation domain.
*/
public static function getTranslationDomain(): string {
return self::TRANSLATION_DOMAIN;
}
}