class AssertHelperTestClass

Same name and namespace in other branches
  1. 9 core/tests/fixtures/AssertHelperTestClass.php \Drupal\Tests\AssertHelperTestClass

Hierarchy

Expanded class hierarchy of AssertHelperTestClass

File

core/tests/Drupal/Tests/AssertHelperTraitTest.php, line 36

Namespace

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

}

Members

Title Sort descending Modifiers Object type Summary
AssertHelperTestClass::testMethod public function
AssertHelperTrait::castSafeStrings protected static function Casts MarkupInterface objects into strings.

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