Conditions | 3 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
45 | public function executeCalls($target) |
||
46 | { |
||
47 | if (!empty($this->calls)) { |
||
48 | $image = ImageManagerStatic::make($target); |
||
49 | |||
50 | foreach ($this->calls as $call) { |
||
51 | call_user_func_array([$image, $call['method']], $call['arguments'])->save($target); |
||
52 | } |
||
53 | } |
||
54 | |||
55 | return $target; |
||
56 | } |
||
57 | |||
80 |