SrtParser\srtFileEntry::__construct PHP Метод

__construct() публичный Метод

srtFileEntry constructor
public __construct ( string $_start, string $_stop, string $_text )
$_start string Start timecode
$_stop string End timcode
$_text string Text of the entry
    public function __construct($_start, $_stop, $_text)
    {
        $this->startTC = $_start;
        $this->stopTC = $_stop;
        $this->start = self::tc2ms($_start);
        $this->stop = self::tc2ms($_stop);
        $this->text = trim($_text);
    }