Code Duplication    Length = 7-7 lines in 5 locations

src/View/Helper/AssetsHelper.php 5 locations

@@ 55-61 (lines=7) @@
52
     *
53
     * @return $this
54
     */
55
    public function bootstrap()
56
    {
57
        $this->jquery();
58
        $this->Html->script('libs/bootstrap.min.js', $this->_options);
59
        $this->Html->css('libs/bootstrap.min.css', $this->_options);
60
        return $this;
61
    }
62
63
    /**
64
     * Include fancybox.
@@ 68-74 (lines=7) @@
65
     *
66
     * @return $this
67
     */
68
    public function fancyBox()
69
    {
70
        $this->jquery();
71
        $this->Html->script('libs/fancybox.min.js', $this->_options);
72
        $this->Html->css('libs/fancybox.min.css', $this->_options);
73
        return $this;
74
    }
75
76
    /**
77
     * Include font awesome.
@@ 115-121 (lines=7) @@
112
     *
113
     * @return $this
114
     */
115
    public function materialize()
116
    {
117
        $this->jquery();
118
        $this->Html->script('libs/materialize.min.js', $this->_options);
119
        $this->Html->css('libs/materialize.min.css', $this->_options);
120
        return $this;
121
    }
122
123
    /**
124
     * Include sweet alert.
@@ 128-134 (lines=7) @@
125
     *
126
     * @return $this
127
     */
128
    public function sweetAlert()
129
    {
130
        $this->jquery();
131
        $this->Html->script('libs/sweetalert.min.js', $this->_options);
132
        $this->Html->css('libs/sweetalert.min.css', $this->_options);
133
        return $this;
134
    }
135
136
    /**
137
     * Include ui kit framework.
@@ 141-147 (lines=7) @@
138
     *
139
     * @return $this
140
     */
141
    public function uikit()
142
    {
143
        $this->jquery();
144
        $this->Html->script('libs/uikit.min.js', $this->_options);
145
        $this->Html->css('libs/uikit.min.css', $this->_options);
146
        return $this;
147
    }
148
149
    /**
150
     * Autoload plugin assets.