class AssertHelperTestClass in Drupal 9
Same name and namespace in other branches
- 8 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
- class \Drupal\Tests\AssertHelperTestClass uses AssertHelperTrait
Expanded class hierarchy of AssertHelperTestClass
File
- core/
tests/ fixtures/ AssertHelperTestClass.php, line 12
Namespace
Drupal\TestsView source
class AssertHelperTestClass {
use AssertHelperTrait;
public function testMethod($value) {
return $this
->castSafeStrings($value);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AssertHelperTestClass:: |
public | function | ||
AssertHelperTrait:: |
protected static | function | Casts MarkupInterface objects into strings. |