Test Failed
Push — master ( 894c40...e5d2d2 )
by Julien
11:34
created

Manager::reset()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * This file is part of the Zemit Framework.
5
 *
6
 * (c) Zemit Team <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE.txt
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Zemit\Support\Options;
13
14
class Manager
15
{
16
    use Options;
17
    
18
    public function get(string $key, $default = null)
19
    {
20
        return $this->getOption($key, $default);
21
    }
22
    
23
    public function set(string $key, $value = null): void
24
    {
25
        $this->setOption($key, $value);
26
    }
27
    
28
    public function remove(string $key): void
29
    {
30
        $this->removeOption($key);
31
    }
32
    
33
    public function reset(): void
34
    {
35
        $this->resetOptions();
36
    }
37
    
38
    public function clear(): void
39
    {
40
        $this->clearOptions();
41
    }
42
}
43