original_string: protected function initBranchCallback()
      {
          if (is_null($this->branchCallback)) {
              $this->branchCallback = function ($branch) {
                  $key = $branch[$this->model->getKeyName()];
                  $title = $branch[$this->model->getTitleColumn()];
  
                  return "$key - $title";
              };
          }
      }
code: protected function initBranchCallback()
      {
          if (is_null($this->branchCallback)) {
              $this->branchCallback = function ($branch) {
                  $key = $branch[$this->model->getKeyName()];
                  $title = $branch[$this->model->getTitleColumn()];
  
                  return "$key - $title";
              };
          }
      }
code_tokens: protected function initBranchCallback ( ) { if ( is_null ( $ this -> branchCallback ) ) { $ this -> branchCallback = function ( $ branch ) { $ key = $ branch [ $ this -> model -> getKeyName ( ) ] ; $ title = $ branch [ $ this -> model -> getTitleColumn ( ) ] ; return "$key - $title" ; } ; } }
docstring: Initialize branch callback.
  
  @return void
docstring_tokens: Initialize branch callback .