original_string: public function setQueryBuilderInitializer(\Closure $initializer = null)
      {
          if (!is_null($initializer)) {
              $this->validateQueryBuilderInitializer($initializer);
          }
  
          $this->queryBuilderInitializer = $initializer;
  
          return $this;
      }
code: public function setQueryBuilderInitializer(\Closure $initializer = null)
      {
          if (!is_null($initializer)) {
              $this->validateQueryBuilderInitializer($initializer);
          }
  
          $this->queryBuilderInitializer = $initializer;
  
          return $this;
      }
code_tokens: public function setQueryBuilderInitializer ( \ Closure $ initializer = null ) { if ( ! is_null ( $ initializer ) ) { $ this -> validateQueryBuilderInitializer ( $ initializer ) ; } $ this -> queryBuilderInitializer = $ initializer ; return $ this ; }
docstring: Sets the query builder initializer.
  
  A closure with the query builder as first argument
  and the root alias as the second argument:
  
  function (QueryBuilder $qb, $alias) {
  
  }
  
  @param \Closure|null $initializer
  
  @return EntitySource
docstring_tokens: Sets the query builder initializer .