Exemplo n.º 1
0
 public static function to_srt(Set $captions, $file = null)
 {
     $renderer = new SrtRenderer();
     return $renderer->render($captions, $file);
 }
Exemplo n.º 2
0
 public function test_render()
 {
     $captions = $this->_simple_captions_set();
     $renderer = new SrtRenderer();
     $this->assertSame($renderer->render($captions), $this->_srt_string());
 }