FieldContainer::__get()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 2
eloc 4
c 2
b 0
f 0
nc 2
nop 1
dl 0
loc 8
rs 10
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
}