Total Complexity | 4 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class Config extends CoubaseV2Config |
||
22 | { |
||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $bucketName = 'phpfastcache'; |
||
27 | |||
28 | protected $scopeName = self::DEFAULT_VALUE; |
||
29 | |||
30 | protected $collectionName = self::DEFAULT_VALUE; |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getScopeName(): string |
||
36 | { |
||
37 | return $this->scopeName; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @param string $scopeName |
||
42 | * @return Config |
||
43 | */ |
||
44 | public function setScopeName(string $scopeName): Config |
||
45 | { |
||
46 | $this->scopeName = $scopeName; |
||
47 | return $this; |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | public function getCollectionName(): string |
||
54 | { |
||
55 | return $this->collectionName; |
||
56 | } |
||
57 | |||
58 | /** |
||
59 | * @param string $collectionName |
||
60 | * @return Config |
||
61 | */ |
||
62 | public function setCollectionName(string $collectionName): Config |
||
66 | } |
||
67 | } |
||
68 |