Completed
Push — master ( ac829e...e5cdef )
by Anton
43s queued 26s
created

getPropertyDescriptionMergeStrategy()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the Spryker Commerce OS.
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
namespace Pyz\Zed\Transfer;
9
10
use Spryker\Shared\Transfer\TransferConstants;
11
use Spryker\Zed\Transfer\TransferConfig as SprykerTransferConfig;
12
13
class TransferConfig extends SprykerTransferConfig
14
{
15
    /**
16
     * @return array<string>
17
     */
18
    public function getEntitiesSourceDirectories(): array
19
    {
20
        return [
21
            APPLICATION_SOURCE_DIR . '/Orm/Propel/*/Schema/',
22
        ];
23
    }
24
25
    /**
26
     * @return bool
27
     */
28
    public function isTransferXmlValidationEnabled(): bool
29
    {
30
        return true;
31
    }
32
33
    /**
34
     * @return string
35
     */
36
    public function getPropertyDescriptionMergeStrategy(): string
37
    {
38
        return TransferConstants::PROPERTY_DESCRIPTION_MERGE_STRATEGY_GET_FIRST;
39
    }
40
}
41