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

CustomerNoteFieldset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 16
c 1
b 0
f 0
wmc 1
lcom 0
cbo 2
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 8 1
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
}