Completed
Pull Request — develop (#542)
by Mathias
09:01
created

CustomerNoteFieldset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 8
dl 0
loc 13
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 7 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->setAttribute('id', 'customerNoteFieldset');
32
        $this->setName('customerNote');
33
        $this->add([
34
                'type' => 'Textarea',
35
                'name' => 'note',
36
            ]);
37
    }
38
}
39