RowCol   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 9
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSet() 0 8 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace dlindberg\BlobChunk\Manager;
6
7
final class RowCol extends NodeCheck
8
{
9
    public $colDefs   = [];
10
    public $rowsGroup = [];
11
    public $row       = [];
12
13
    public function getSet(\DOMNode $parent): RowCol
14
    {
15
        $set = $this->get($parent, $this->config->rowColSets);
16
        $this->colDefs = $set['colDefs'] ?? [];
17
        $this->rowsGroup = $set['rowsGroup'] ?? [];
18
        $this->row = $set['row'];
19
20
        return $this;
21
    }
22
}
23