Completed
Push — develop ( e58249...8761a6 )
by
unknown
07:04
created

CustomerNoteFieldset::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 8
c 1
b 0
f 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
/**
3
 * YAWIK
4
 *
5
 * @filesource
6
 * @license MIT
7
 * @copyright  2013 - 2017 Cross Solution <http://cross-solution.de>
8
 */
9
  
10
/** */
11
namespace Jobs\Form;
12
13
use Core\Form\MetaDataFieldset;
14
use Core\Form\ViewPartialProviderInterface;
15
use Core\Form\ViewPartialProviderTrait;
16
17
/**
18
 * ${CARET}
19
 * 
20
 * @author Mathias Gelhausen <[email protected]>
21
 * @todo write test 
22
 */
23
class CustomerNoteFieldset extends MetaDataFieldset implements ViewPartialProviderInterface
24
{
25
    use ViewPartialProviderTrait;
26
27
    protected $defaultPartial = 'jobs/form/customer-note';
28
29
    public function init()
30
    {
31
        $this->add([
32
                'type' => 'Textarea',
33
                'name' => 'note',
34
35
            ]);
36
    }
37
    
38
}