public function addTimer(Timer $timer)
  {
    if ( false === ($step=$this->currentStep()) ){
      throw new \Exception('No current step');
    }
    
    $step->setTimer($timer);
    return $this;
  }
public function addTimer(Timer $timer)
  {
    if ( false === ($step=$this->currentStep()) ){
      throw new \Exception('No current step');
    }
    
    $step->setTimer($timer);
    return $this;
  }
public function addTimer ( Timer $ timer ) { if ( false === ( $ step = $ this -> currentStep ( ) ) ) { throw new \ Exception ( 'No current step' ) ; } $ step -> setTimer ( $ timer ) ; return $ this ; }
Add timer to current step
Add timer to current step