You are here

class InvokableUntrustedObject in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\InvokableUntrustedObject
  2. 9 core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\InvokableUntrustedObject

Hierarchy

Expanded class hierarchy of InvokableUntrustedObject

File

core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php, line 125

Namespace

Drupal\Tests\Core\Security
View source
class InvokableUntrustedObject {
  public function __invoke() {
    return 'test';
  }

}

Members