original_string: public function bindToController()
      {
          if ($this->controller->widget === null) {
              $this->controller->widget = new stdClass;
          }
  
          $this->controller->widget->{$this->alias} = $this;
      }
code: public function bindToController()
      {
          if ($this->controller->widget === null) {
              $this->controller->widget = new stdClass;
          }
  
          $this->controller->widget->{$this->alias} = $this;
      }
code_tokens: public function bindToController ( ) { if ( $ this -> controller -> widget === null ) { $ this -> controller -> widget = new stdClass ; } $ this -> controller -> widget -> { $ this -> alias } = $ this ; }
docstring: Binds a widget to the controller for safe use.
  @return void
docstring_tokens: Binds a widget to the controller for safe use .