| Total Complexity | 6 | 
| Total Lines | 31 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 5 | class Media implements MediaInterface  | 
            ||
| 6 | { | 
            ||
| 7 | protected $contentType;  | 
            ||
| 8 | protected $data;  | 
            ||
| 9 | |||
| 10 | 1 | public function __construct($content_type, $data)  | 
            |
| 14 | 1 | }  | 
            |
| 15 | |||
| 16 | 1 | public function getContentType()  | 
            |
| 17 | 1 |     { | 
            |
| 18 | 1 | return $this->contentType;  | 
            |
| 19 | }  | 
            ||
| 20 | |||
| 21 | 1 | public function getBinaryString()  | 
            |
| 22 | 1 |     { | 
            |
| 23 | 1 | return $this->data;  | 
            |
| 24 | }  | 
            ||
| 25 | |||
| 26 | 1 | public function getDataUri()  | 
            |
| 29 | }  | 
            ||
| 30 | |||
| 31 | 1 | public function save($path)  | 
            |
| 39 |