Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
52 | public function autoGenerateRepresentations(array $side_values = null, array $k_bitrate_values = null) |
||
53 | { |
||
54 | if (!$this->format) { |
||
55 | throw new Exception('Format has not been set'); |
||
56 | } |
||
57 | |||
58 | $this->representations = (new AutoRepresentations($this->getMedia()->probe(), $side_values, $k_bitrate_values)) |
||
|
|||
59 | ->get(); |
||
60 | |||
61 | return $this; |
||
62 | } |
||
63 | } |