original_string: public function setControl(Control $control)
      {
          $control->checkId();
          $control->addScriptFeature($this);
          $this->control = $control;
          $this->updateScriptEvents();
          return $this;
      }
code: public function setControl(Control $control)
      {
          $control->checkId();
          $control->addScriptFeature($this);
          $this->control = $control;
          $this->updateScriptEvents();
          return $this;
      }
code_tokens: public function setControl ( Control $ control ) { $ control -> checkId ( ) ; $ control -> addScriptFeature ( $ this ) ; $ this -> control = $ control ; $ this -> updateScriptEvents ( ) ; return $ this ; }
docstring: Set the Control
  
  @api
  @param Control $control Control
  @return static
docstring_tokens: Set the Control