Handler   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
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