Batch   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A jsonSerialize() 0 10 1
1
<?php
2
3
namespace DrewM\Drip;
4
5
class Batch extends Dataset
6
{
7
    public function jsonSerialize()
8
    {
9
        return [
10
            'batches' => [
11
                [
12
                    $this->label => $this->data,
13
                ],
14
            ],
15
        ];
16
    }
17
18
}