original_string: protected function _compile($part, ValueBinder $generator)
      {
          if ($part instanceof ExpressionInterface) {
              $part = $part->sql($generator);
          } elseif (is_array($part)) {
              $placeholder = $generator->placeholder('param');
              $generator->bind($placeholder, $part['value'], $part['type']);
              $part = $placeholder;
          }
  
          return $part;
      }
code: protected function _compile($part, ValueBinder $generator)
      {
          if ($part instanceof ExpressionInterface) {
              $part = $part->sql($generator);
          } elseif (is_array($part)) {
              $placeholder = $generator->placeholder('param');
              $generator->bind($placeholder, $part['value'], $part['type']);
              $part = $placeholder;
          }
  
          return $part;
      }
code_tokens: protected function _compile ( $ part , ValueBinder $ generator ) { if ( $ part instanceof ExpressionInterface ) { $ part = $ part -> sql ( $ generator ) ; } elseif ( is_array ( $ part ) ) { $ placeholder = $ generator -> placeholder ( 'param' ) ; $ generator -> bind ( $ placeholder , $ part [ 'value' ] , $ part [ 'type' ] ) ; $ part = $ placeholder ; } return $ part ; }
docstring: Compiles the relevant parts into sql
  
  @param array|string|\Cake\Database\ExpressionInterface $part The part to compile
  @param \Cake\Database\ValueBinder $generator Sql generator
  
  @return string
docstring_tokens: Compiles the relevant parts into sql