Passed
Push — master ( 64deae...57bf37 )
by Radu
01:22
created

Mp3File   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
namespace WebServCo\Framework\Files;
3
4
class Mp3File extends AbstractFile implements \WebServCo\Framework\Interfaces\FileInterface
5
{
6
    const CONTENT_TYPE = 'audio/mpeg';
7
8
    public function __construct($fileName, $fileData)
9
    {
10
        parent::__construct($fileName, $fileData, self::CONTENT_TYPE);
11
    }
12
}
13