original_string: protected function whereInExistingQuery($column, $query, $boolean, $not)
      {
          $type = $not ? 'NotInSub' : 'InSub';
  
          $this->wheres[] = compact('type', 'column', 'query', 'boolean');
  
          $this->addBinding($query->getBindings(), 'where');
  
          return $this;
      }
code: protected function whereInExistingQuery($column, $query, $boolean, $not)
      {
          $type = $not ? 'NotInSub' : 'InSub';
  
          $this->wheres[] = compact('type', 'column', 'query', 'boolean');
  
          $this->addBinding($query->getBindings(), 'where');
  
          return $this;
      }
code_tokens: protected function whereInExistingQuery ( $ column , $ query , $ boolean , $ not ) { $ type = $ not ? 'NotInSub' : 'InSub' ; $ this -> wheres [ ] = compact ( 'type' , 'column' , 'query' , 'boolean' ) ; $ this -> addBinding ( $ query -> getBindings ( ) , 'where' ) ; return $ this ; }
docstring: Add an external sub-select to the query.
  
  @param  string   $column
  @param  \Illuminate\Database\Query\Builder|static  $query
  @param  string   $boolean
  @param  bool     $not
  @return $this
docstring_tokens: Add an external sub - select to the query .