Passed
Pull Request — master (#1)
by Oleksandr
06:07
created

MinuboConfig   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
dl 0
loc 24
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getFileSystemName() 0 3 1
A getCustomerSecureFields() 0 3 1
A getBucketDirectory() 0 3 1
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\Minubo;
9
10
use Spryker\Zed\Kernel\AbstractBundleConfig;
11
use SprykerEco\Shared\Minubo\MinuboConstants;
12
13
class MinuboConfig extends AbstractBundleConfig
14
{
15
    /**
16
     * @return string
17
     */
18
    public function getFileSystemName(): string
19
    {
20
        return $this->get(MinuboConstants::MINUBO_FILE_SYSTEM_NAME);
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getBucketDirectory(): string
27
    {
28
        return $this->get(MinuboConstants::MINUBO_BUCKET_DIRECTORY);
29
    }
30
31
    /**
32
     * @return array
33
     */
34
    public function getCustomerSecureFields(): array
35
    {
36
        return $this->get(MinuboConstants::MINUBO_CUSTOMER_SECURE_FIELDS, []);
37
    }
38
}
39