Completed
Push — master ( 69d6ff...60d462 )
by WEBEWEB
01:44
created

BootstrapCSSAssetProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 54
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 54
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getResources() 0 47 1
1
<?php
2
3
/**
4
 * This file is part of the bootstrap-bundle package.
5
 *
6
 * (c) 2018 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\BootstrapBundle\Asset;
13
14
use WBW\Bundle\BootstrapBundle\Asset\AbstractAssetProvider;
15
use WBW\Bundle\BootstrapBundle\Provider\Asset\CSSAssetProviderInterface;
16
17
/**
18
 * CSS asset provider.
19
 *
20
 * @author webeweb <https://github.com/webeweb/>
21
 * @package WBW\Bundle\BootstrapBundle\Asset
22
 */
23
class BootstrapCSSAssetProvider extends AbstractAssetProvider implements CSSAssetProviderInterface {
24
25
    /**
26
     * {@inheritdoc}
27
     */
28
    public function getResources() {
29
30
        // Initialize the resources.
31
        $resources = [];
32
33
        // Animate.css
34
        $resources[] = "/animate.css-3.5.2/animate.min.css";
35
        // Bootstrap
36
        $resources[] = "/bootstrap-3.3.7/css/bootstrap.min.css";
37
        // Bootstrap Colorpicker plug-in
38
        $resources[] = "/bootstrap-colorpicker-2.5.1/css/bootstrap-colorpicker.min.css";
39
        // Bootstrap Datepicker plug-in
40
        $resources[] = "/bootstrap-datepicker-1.7.1/css/bootstrap-datepicker.min.css";
41
        // Bootstrap Daterangepicker plugin
42
        $resources[] = "/bootstrap-daterangepicker-2.1.27/daterangepicker.css";
43
        // Bootstrap Markdown plug-in
44
        $resources[] = "/bootstrap-markdown-2.10.0/css/bootstrap-markdown.min.css";
45
        // Bootstrap Select plug-in
46
        $resources[] = "/bootstrap-select-1.12.4/css/bootstrap-select.min.css";
47
        // Bootstrap Slider plug-in
48
        $resources[] = "/bootstrap-slider-10.0.0/css/bootstrap-slider.min.css";
49
        // Bootstrap Social plug-in
50
        $resources[] = "/bootstrap-social-5.1.1/bootstrap-social.css";
51
        // Bootstrap Tagsinput plug-in
52
        $resources[] = "/bootstrap-tagsinput-0.8.0/bootstrap-tagsinput.css";
53
        // Bootstrap Timepicker plug-in
54
        $resources[] = "/bootstrap-timepicker-0.5.2/css/bootstrap-timepicker.min.css";
55
        // Bootstrap WYSIWIG plug-in
56
        $resources[] = "/bootstrap-wysiwyg-0.3.3/bootstrap3-wysihtml5.min.css";
57
        // Font Awesome
58
        $resources[] = "/fontawesome-5.0.10/css/fontawesome-all.min.css";
59
        // jQuery Select2 plug-in
60
        $resources[] = "/jquery-select2-4.0.5/css/select2.min.css";
61
        // Material Design Color Palette
62
        $resources[] = "/material-design-color-palette-1.1.0/material-design-color-palette.min.css";
63
        // Material Design Hierarchical Display
64
        $resources[] = "/material-design-hierarchical-display-1.0.1/zmd.hierarchical-display.min.css";
65
        // Material Design Iconic Font
66
        $resources[] = "/material-design-iconic-font-2.2.0/css/material-design-iconic-font.min.css";
67
        // Meteocons
68
        $resources[] = "/meteocons/stylesheet.css";
69
        // waitMe
70
        $resources[] = "/waitme-1.19/waitMe.min.css";
71
72
        // Return the resources.
73
        return $resources;
74
    }
75
76
}
77