Get   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 15
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 5 1
1
<?php
2
3
namespace REverse\GSheets\Operation;
4
5
class Get extends Operation
6
{
7
    /**
8
     * This method returns values in range.
9
     * Range is A1 Notation
10
     *
11
     * @param $range
12
     *
13
     * @return \Google_Service_Sheets_ValueRange
14
     */
15
    public function execute($range)
16
    {
17
        $service = $this->spreadsheets->getClient()->getGoogleServiceSheets();
18
19
        return $service->spreadsheets_values->get($this->spreadsheets->getSpreadSheetId(), $range);
20
    }
21
}