AbstractGroupBy   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 7
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A asSOQL() 0 3 1
1
<?php
2
3
namespace Xsolve\SalesforceClient\QueryBuilder\Expr\GroupBy;
4
5
abstract class AbstractGroupBy
6
{
7
    abstract protected function getGroupByPart(): string;
8
9 4
    public function asSOQL(): string
10
    {
11 4
        return $this->getGroupByPart();
12
    }
13
}
14