public function transitionTime($seconds)
{
// Don't continue if seconds is not valid
if ((double) $seconds < 0) {
throw new \InvalidArgumentException("Time must be at least 0");
}
// Value is in 1/10 seconds, so convert automatically
$this->params['transitiontime'] = (int) ($seconds * 10);
return $this;
}