Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function execute(Value $value, $range, $params = []) |
||
14 | { |
||
15 | if (empty($params)) { |
||
16 | $params = self::DEFAULT_PARAMS; |
||
17 | } |
||
18 | |||
19 | $service = $this->spreadsheets->getClient()->getGoogleServiceSheets(); |
||
20 | $service->spreadsheets_values->update( |
||
21 | $this->spreadsheets->getSpreadSheetId(), |
||
22 | $range, |
||
23 | $value->getGoogleSheetsValueRange(), |
||
24 | $params |
||
25 | ); |
||
28 |