Completed
Push — master ( e9c4f0...dbc801 )
by Anton
48s queued 18s
created

CustomerPageConfig::isRememberMeEnabled()   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\Yves\CustomerPage;
9
10
use SprykerShop\Yves\CustomerPage\CustomerPageConfig as SprykerCustomerPageConfig;
11
12
class CustomerPageConfig extends SprykerCustomerPageConfig
13
{
14
    /**
15
     * @var bool
16
     */
17
    protected const CUSTOMER_SECURITY_BLOCKER_ENABLED = true;
18
19
    /**
20
     * @uses \Pyz\Zed\Customer\CustomerConfig::MIN_LENGTH_CUSTOMER_PASSWORD
21
     *
22
     * @var int
23
     */
24
    protected const MIN_LENGTH_CUSTOMER_PASSWORD = 8;
25
26
    /**
27
     * @uses \Pyz\Zed\Customer\CustomerConfig::MAX_LENGTH_CUSTOMER_PASSWORD
28
     *
29
     * @var int
30
     */
31
    protected const MAX_LENGTH_CUSTOMER_PASSWORD = 64;
32
33
    /**
34
     * @var bool
35
     */
36
    protected const IS_ORDER_HISTORY_SEARCH_ENABLED = true;
37
38
    /**
39
     * {@inheritDoc}
40
     *
41
     * @return bool
42
     */
43
    public function isDoubleOptInEnabled(): bool
44
    {
45
        return true;
46
    }
47
48
    /**
49
     * {@inheritDoc}
50
     *
51
     * @api
52
     *
53
     * @deprecated Will be removed without replacement. If the future the locale-specific URL will be used.
54
     *
55
     * @return bool
56
     */
57
    public function isLocaleInLoginCheckPath(): bool
58
    {
59
        return true;
60
    }
61
62
    /**
63
     * @return bool
64
     */
65
    public function isRememberMeEnabled(): bool
66
    {
67
        return false;
68
    }
69
}
70