Code Duplication    Length = 7-7 lines in 5 locations

src/View/Helper/AssetsHelper.php 5 locations

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