Completed
Push — master ( 4de43c...7a7d43 )
by Paul
06:26
created

WidgetFormPostCreateEvent::getBuilder()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 1
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Victoire\Bundle\WidgetBundle\Event;
4
5
use Symfony\Component\EventDispatcher\Event;
6
use Symfony\Component\Form\FormInterface;
7
8
class WidgetFormPostCreateEvent extends Event
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
9
{
10
    public $builder;
11
12
    /**
13
     * WidgetFormPostCreateEvent constructor.
14
     *
15
     * @param FormInterface $builder
16
     */
17
    public function __construct(FormInterface $builder)
18
    {
19
        $this->builder = $builder;
20
    }
21
22
    /**
23
     * @return FormInterface
24
     */
25
    public function getBuilder()
26
    {
27
        return $this->builder;
28
    }
29
}
30