class TestInjection3
Same name in other branches
- 11.x core/modules/system/tests/modules/autowire_test/src/TestInjection3.php \Drupal\autowire_test\TestInjection3
A service that is autowired.
Hierarchy
- class \Drupal\autowire_test\TestInjection3 implements \Drupal\Core\Security\TrustedCallbackInterface, \Drupal\autowire_test\TestInjectionInterface
Expanded class hierarchy of TestInjection3
1 file declares its use of TestInjection3
- AutowireTest.php in core/
tests/ Drupal/ KernelTests/ Core/ DependencyInjection/ AutowireTest.php
File
-
core/
modules/ system/ tests/ modules/ autowire_test/ src/ TestInjection3.php, line 10
Namespace
Drupal\autowire_testView source
class TestInjection3 implements TrustedCallbackInterface, TestInjectionInterface {
/**
* {@inheritdoc}
*/
public static function trustedCallbacks() {
return [];
}
}
Members
Title Sort descending | Deprecated | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|---|
TestInjection3::trustedCallbacks | public static | function | Lists the trusted callbacks provided by the implementing class. | Overrides TrustedCallbackInterface::trustedCallbacks | |
TrustedCallbackInterface::THROW_EXCEPTION | constant | Untrusted callbacks throw exceptions. | |||
TrustedCallbackInterface::TRIGGER_SILENCED_DEPRECATION | constant | Untrusted callbacks trigger silenced E_USER_DEPRECATION errors. | |||
TrustedCallbackInterface::TRIGGER_WARNING | Deprecated | constant | Untrusted callbacks trigger E_USER_WARNING errors. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.