Completed
Pull Request — master (#75)
by
unknown
06:31
created

BillOfMaterialGet::validate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Collmex BillOfMaterialGet Type
4
 *
5
 * @author    Marcus Jaschen <[email protected]>
6
 * @author    René Galle <[email protected]>
7
 * @license   http://www.opensource.org/licenses/mit-license MIT License
8
 * @link      https://github.com/mjaschen/collmex
9
 */
10
11
namespace MarcusJaschen\Collmex\Type;
12
13
/**
14
 * Collmex BillOfMaterialGet Type
15
 *
16
 * @author   Marcus Jaschen <[email protected]>
17
 * @author   René Galle <[email protected]>
18
 * @license  http://www.opensource.org/licenses/mit-license MIT License
19
 * @link     https://github.com/mjaschen/collmex
20
 *
21
 * @property $type_identifier
22
 * @property $client_id
23
 * @property $product_id
24
 * @property $assignment
25
 * @property $component_product_id
26
 * @property $changed_only
27
 * @property $system_name
28
 */
29
class BillOfMaterialGet extends AbstractType implements TypeInterface
30
{
31
    /**
32
     * @var array
33
     */
34
    protected $template = [
35
        'type_identifier'      => 'BILL_OF_MATERIAL_GET',
36
        'client_id'            => null,
37
        'product_id'           => null,
38
        'assignment'           => null,
39
        'component_product_id' => null,
40
        'changed_only'         => null,
41
        'system_name'          => null,
42
    ];
43
44
    /**
45
     * Formally validates the type data in $data attribute.
46
     *
47
     * @return bool Validation success
48
     */
49
    public function validate()
50
    {
51
        return true;
52
    }
53
}
54