You are here

class AssertHelperTestClass in Drupal 8

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

Namesort descending Modifiers Type Description Overrides
AssertHelperTestClass::testMethod public function
AssertHelperTrait::castSafeStrings protected static function Casts MarkupInterface objects into strings.