function MethodCallable::method
A test method that returns "foo".
Parameters
string $suffix: A suffix to append.
Return value
string A test string.
Throws
\Exception Throws an exception when called statically.
File
-
core/
tests/ Drupal/ Tests/ Core/ Utility/ CallableResolverTest.php, line 271
Class
Namespace
Drupal\Tests\Core\UtilityCode
public function method($suffix) {
return __METHOD__ . '+' . $suffix;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.