Completed
Pull Request — master (#2)
by Viacheslav
01:50
created

FieldName   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Swaggest\JsonSchema\Meta;
4
5
use Swaggest\JsonSchema\Meta;
6
7
class FieldName extends Meta
8
{
9
    public $name;
10
    public function __construct($name)
11
    {
12
        $this->name = $name;
13
    }
14
15
}