Captioning\Cue::setStop PHP Метод

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

public setStop ( mixed $_stop )
$_stop mixed
    public function setStop($_stop)
    {
        $this->stop = $_stop;
        $cueClass = get_class($this);
        $this->stopMS = $cueClass::tc2ms($this->stop);
        return $this;
    }

Usage Example

Пример #1
0
 /**
  * @param mixed $_stop
  * @return $this
  */
 public function setStop($_stop)
 {
     parent::setStop($_stop);
     if ($this->start) {
         $this->duration = $this->stop - $this->start;
     }
     return $this;
 }