Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class Method extends Call |
||
8 | { |
||
9 | /** |
||
10 | * The constructor. |
||
11 | * |
||
12 | * @param string $sMethod The jQuery function |
||
13 | * @param array $aArguments The arguments of the jQuery function |
||
14 | */ |
||
15 | public function __construct(string $sMethod, array $aArguments) |
||
16 | { |
||
17 | parent::__construct($sMethod); |
||
18 | // Add the arguments to the parameter list |
||
19 | $this->addParameters($aArguments); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Returns a string representation of this call |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public function __toString(): string |
||
30 | } |
||
31 | } |
||
32 |