StubUpsert.php

Same filename and directory in other branches
  1. 10 core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php

Namespace

Drupal\Tests\Core\Database\Stub

File

core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\Core\Database\Stub;

use Drupal\Core\Database\Query\Upsert;

/**
 * A stub of core Upsert for testing purposes.
 */
class StubUpsert extends Upsert {
    
    /**
     * {@inheritdoc}
     */
    public function __toString() {
        return '';
    }

}

Classes

Title Deprecated Summary
StubUpsert A stub of core Upsert for testing purposes.

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