MinuboConfig   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 3
eloc 4
c 1
b 0
f 1
dl 0
loc 30
rs 10

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
     * @api
17
     *
18
     * @return string
19
     */
20
    public function getFileSystemName(): string
21
    {
22
        return $this->get(MinuboConstants::MINUBO_FILE_SYSTEM_NAME);
23
    }
24
25
    /**
26
     * @api
27
     *
28
     * @return string
29
     */
30
    public function getBucketDirectory(): string
31
    {
32
        return $this->get(MinuboConstants::MINUBO_BUCKET_DIRECTORY);
33
    }
34
35
    /**
36
     * @api
37
     *
38
     * @return array
39
     */
40
    public function getCustomerSecureFields(): array
41
    {
42
        return $this->get(MinuboConstants::MINUBO_CUSTOMER_SECURE_FIELDS, []);
43
    }
44
}
45