class InvokableUntrustedObject

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\InvokableUntrustedObject
  2. 8.9.x core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php \Drupal\Tests\Core\Security\InvokableUntrustedObject
  3. 10 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 121

Namespace

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

}

Members

Title Sort descending Modifiers Object type Summary
InvokableUntrustedObject::__invoke public function

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