protected function setFinished($time = null)
    {
        $this->finished = $time ?: microtime(true);
        $this->setState(RunInterface::STATE_NOT_RUNNING);
    }
protected function setFinished($time = null)
    {
        $this->finished = $time ?: microtime(true);
        $this->setState(RunInterface::STATE_NOT_RUNNING);
    }
protected function setFinished ( $ time = null ) { $ this -> finished = $ time ? : microtime ( true ) ; $ this -> setState ( RunInterface :: STATE_NOT_RUNNING ) ; }
this thing has finished

@param int|null $time Optional time to say that we finished at
this thing has finished