Passed
Push — master ( b50490...348e80 )
by Serhii
46:14
created

TransferConfig::isArrayRequireValidationEnabled()   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
declare(strict_types = 1);
9
10
namespace Pyz\Zed\Transfer;
11
12
use Spryker\Zed\Transfer\TransferConfig as SprykerTransferConfig;
13
14
class TransferConfig extends SprykerTransferConfig
15
{
16
    /**
17
     * @return array<string>
18
     */
19
    public function getEntitiesSourceDirectories(): array
20
    {
21
        return [
22
            APPLICATION_SOURCE_DIR . '/Orm/Propel/*/Schema/',
23
        ];
24
    }
25
26
    public function isTransferXmlValidationEnabled(): bool
27
    {
28
        return true;
29
    }
30
31
    public function isTransferSuffixCheckStrict(): bool
32
    {
33
        return true;
34
    }
35
36
    public function isArrayRequireValidationEnabled(): bool
37
    {
38
        return true;
39
    }
40
}
41