Completed
Push — master ( c0a09e...6a2cfe )
by Dima
01:12 queued 42s
created

TransferConfig::isTransferSuffixCheckStrict()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 1
c 1
b 1
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
declare(strict_types = 1);
9
10
namespace Pyz\Zed\Transfer;
11
12
use Spryker\Shared\Transfer\TransferConstants;
13
use Spryker\Zed\Transfer\TransferConfig as SprykerTransferConfig;
14
15
class TransferConfig extends SprykerTransferConfig
16
{
17
    /**
18
     * @return array<string>
19
     */
20
    public function getEntitiesSourceDirectories(): array
21
    {
22
        return [
23
            APPLICATION_SOURCE_DIR . '/Orm/Propel/*/Schema/',
24
        ];
25
    }
26
27
    /**
28
     * @return bool
29
     */
30
    public function isTransferXmlValidationEnabled(): bool
31
    {
32
        return true;
33
    }
34
35
    /**
36
     * @return string
37
     */
38
    public function getPropertyDescriptionMergeStrategy(): string
39
    {
40
        return TransferConstants::PROPERTY_DESCRIPTION_MERGE_STRATEGY_GET_FIRST;
41
    }
42
43
    /**
44
     * @return bool
45
     */
46
    public function isTransferSuffixCheckStrict(): bool
47
    {
48
        return true;
49
    }
50
}
51