original_string: public function toDatabase($value, Driver $driver)
      {
          if (is_string($value)) {
              return $this->convertStringToBinaryUuid($value);
          }
  
          return $value;
      }
code: public function toDatabase($value, Driver $driver)
      {
          if (is_string($value)) {
              return $this->convertStringToBinaryUuid($value);
          }
  
          return $value;
      }
code_tokens: public function toDatabase ( $ value , Driver $ driver ) { if ( is_string ( $ value ) ) { return $ this -> convertStringToBinaryUuid ( $ value ) ; } return $ value ; }
docstring: Convert binary uuid data into the database format.
  
  Binary data is not altered before being inserted into the database.
  As PDO will handle reading file handles.
  
  @param string|resource $value The value to convert.
  @param \Cake\Database\Driver $driver The driver instance to convert with.
  @return string|resource
docstring_tokens: Convert binary uuid data into the database format .