WebinoAjaxJQueryV0::getDependencies()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace WebinoViewLib\Component\Javascript;
4
5
/**
6
 * Class WebinoAjaxJQueryV0
7
 */
8
class WebinoAjaxJQueryV0 extends AbstractWebinoAjaxJQuery
9
{
10
    /**
11
     * {@inheritdoc}
12
     */
13
    public function __construct()
14
    {
15
        parent::__construct('//cdn.rawgit.com/webino/webino-ajax-jquery/develop/src/webino.ajax.jquery.js');
16
    }
17
18
    // TODO interface
19
    public function getDependencies()
20
    {
21
        return [new DiffHtmlJQueryV0];
22
    }
23
}
24