FieldContainer   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 5
c 2
b 0
f 0
dl 0
loc 10
rs 10
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A __get() 0 8 2
1
<?php
2
/**
3
 * Created by jensk on 12-1-2018.
4
 */
5
6
namespace CloudControl\Cms\storage\entities;
7
8
9
class FieldContainer
10
{
11
    public function __get($property)
12
    {
13
        if (isset($this->$property)) {
14
            return $this->$property;
15
        }
16
17
        return array(
18
            0 => ''
19
        );
20
    }
21
}