Handler::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace diecoding\aws\s3\base\handlers;
4
5
use Aws\S3\S3Client;
6
use diecoding\aws\s3\interfaces\handlers\Handler as HandlerInterface;
7
8
/**
9
 * Class Handler
10
 *
11
 * @package diecoding\aws\s3\base\handlers
12
 */
13
abstract class Handler implements HandlerInterface
14
{
15
    /** @var S3Client */
16
    protected $s3Client;
17
18
    /**
19
     * Handler constructor.
20
     *
21
     * @param \Aws\S3\S3Client $s3Client
22
     */
23
    public function __construct(S3Client $s3Client)
24
    {
25
        $this->s3Client = $s3Client;
26
    }
27
}
28