Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 0 |
1 | <?php |
||
7 | class S3Streamer extends Streamer implements ObjectStorageStreamerInterface |
||
8 | { |
||
9 | private $s3Service; |
||
10 | |||
11 | 11 | public function __construct(S3Service $s3Service) |
|
12 | { |
||
13 | 11 | parent::__construct(); |
|
14 | 11 | $this->s3Service = $s3Service; |
|
15 | 11 | } |
|
16 | |||
17 | /** |
||
18 | * Stream the current song through S3. |
||
19 | * Actually, we just redirect the request to the S3 object's location. |
||
20 | */ |
||
21 | public function stream() |
||
25 | } |
||
26 | } |
||
27 |