1 | <?php namespace Kris\LaravelFormBuilder\Events; |
||
6 | class AfterFieldCreation { |
||
7 | |||
8 | /** |
||
9 | * @var $form Form |
||
10 | */ |
||
11 | protected $form; |
||
12 | |||
13 | /** |
||
14 | * @var $field FormField |
||
15 | */ |
||
16 | protected $field; |
||
17 | |||
18 | /** |
||
19 | * Create a new event instance. |
||
20 | */ |
||
21 | public function __construct(Form $form, FormField $field) { |
||
25 | |||
26 | /** |
||
27 | * Return the event's form. |
||
28 | */ |
||
29 | public function getForm() { |
||
32 | |||
33 | /** |
||
34 | * Return the event's field. |
||
35 | */ |
||
36 | public function getField() { |
||
39 | |||
40 | } |
||
41 |