class StubUpsert

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php \Drupal\Tests\Core\Database\Stub\StubUpsert

A stub of core Upsert for testing purposes.

Hierarchy

Expanded class hierarchy of StubUpsert

File

core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php, line 12

Namespace

Drupal\Tests\Core\Database\Stub
View source
class StubUpsert extends Upsert {
  
  /**
   * {@inheritdoc}
   */
  public function __toString() {
    return '';
  }

}

Members

Title Sort descending Modifiers Object type Summary
StubUpsert::__toString public function Implements PHP magic __toString method to convert the query to a string.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.