function NoInstantiationMockStaticCallable::staticMethod

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php \Drupal\Tests\Core\Utility\NoInstantiationMockStaticCallable::staticMethod()

File

core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php, line 238

Class

NoInstantiationMockStaticCallable

Namespace

Drupal\Tests\Core\Utility

Code

public static function staticMethod($suffix) {
    return __METHOD__ . '+' . $suffix;
}

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