Completed
Push — master ( d7f3a5...d6e5bd )
by
unknown
95:27 queued 72:17
created

FakeView   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A offsetSet() 0 4 1
1
<?php
2
3
namespace Kunstmaan\AdminBundle\Tests\unit\Helper\FormWidgets;
4
5
use Symfony\Component\Form\FormView;
6
7
class FakeView extends FormView
8
{
9
    /**
10
     * @param $name
11
     * @param $value
12
     */
13
    public function offsetSet($name, $value)
14
    {
15
        $this->children[$name] = $value;
16
    }
17
}