class InvokableUntrustedObject
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\InvokableUntrustedObject
- 10 core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\InvokableUntrustedObject
- 9 core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\InvokableUntrustedObject
- 8.9.x core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\InvokableUntrustedObject
Invokable untrusted test class.
Hierarchy
- class \Drupal\Tests\Core\Security\InvokableUntrustedObject
Expanded class hierarchy of InvokableUntrustedObject
File
-
core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php, line 216
Namespace
Drupal\Tests\Core\SecurityView source
class InvokableUntrustedObject {
public function __invoke() : string {
return 'test';
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.