Captioning\Format\JsonCue::setStop PHP Method

setStop() public method

public setStop ( mixed $_stop )
$_stop mixed
    public function setStop($_stop)
    {
        parent::setStop($_stop);
        if ($this->start) {
            $this->duration = $this->stop - $this->start;
        }
        return $this;
    }