Completed
Push — master ( 4d4acb...f95c98 )
by Kristijan
12s
created

AfterFormCreation::getForm()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 2
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php namespace Kris\LaravelFormBuilder\Events;
2
3
use Kris\LaravelFormBuilder\Form;
4
5
class AfterFormCreation {
6
7
    /**
8
     * @var $form Form
9
     */
10
    protected $form;
11
12
    /**
13
     * Create a new event instance.
14
     */
15
    public function __construct(Form $form) {
16
        $this->form = $form;
17
    }
18
19
    /**
20
     * Return the event's form.
21
     */
22
    public function getForm() {
23
        return $this->form;
24
    }
25
26
}
27