class AssertHelperTestClass

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/AssertHelperTraitTest.php \Drupal\Tests\AssertHelperTestClass

A helper class for deprecation of AssertHelperTrait.

@todo remove this class in Drupal 10.

@internal

Hierarchy

Expanded class hierarchy of AssertHelperTestClass

File

core/tests/fixtures/AssertHelperTestClass.php, line 12

Namespace

Drupal\Tests
View source
class AssertHelperTestClass {
  use AssertHelperTrait;
  public function testMethod($value) {
    return $this->castSafeStrings($value);
  }

}

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