class InvokableUntrustedObject

Same name 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. 11.x 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 132

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.