You are here

AssertHelperTestClass.php in Drupal 9

Namespace

Drupal\Tests

File

core/tests/fixtures/AssertHelperTestClass.php
View source
<?php

namespace Drupal\Tests;


/**
 * A helper class for deprecation of AssertHelperTrait.
 *
 * @todo remove this class in Drupal 10.
 *
 * @internal
 */
class AssertHelperTestClass {
  use AssertHelperTrait;
  public function testMethod($value) {
    return $this
      ->castSafeStrings($value);
  }

}

Classes

Namesort descending Description
AssertHelperTestClass A helper class for deprecation of AssertHelperTrait.