Passed
Push — master ( 44b74b...50fc08 )
by Alexander
21:46 queued 10:47
created

PropelConfig   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A isSharedLoggerEnabled() 0 3 1
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\Propel;
11
12
use Spryker\Zed\Propel\PropelConfig as SprykerPropelConfig;
13
14
class PropelConfig extends SprykerPropelConfig
15
{
16
    /**
17
     * Specification:
18
     * - If true, adds additional shared logger that will send all Propel logs to the same destination as regular logs.
19
     *
20
     * @api
21
     *
22
     * @return bool
23
     */
24
    public function isSharedLoggerEnabled(): bool
25
    {
26
        return true;
27
    }
28
}
29