Completed
Pull Request — master (#3)
by Linus
16:04 queued 06:05
created

S3Params::getParams()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace limenet\S3BucketStreamZip;
4
5
class S3Params
6
{
7
    public $params;
8
9
    public function __construct($bucket)
10
    {
11
        $this->params['Bucket'] = $bucket;
12
    }
13
14
    public function getParams()
15
    {
16
        return $this->params;
17
    }
18
19
    public function setParam($key, $value)
20
    {
21
        $this->params[$key] = $value;
22
    }
23
}
24