AssertHelperTestClass.php

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

Title Deprecated Summary
AssertHelperTestClass A helper class for deprecation of AssertHelperTrait.

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