TestInjection3.php
Same filename in other branches
Namespace
Drupal\autowire_testFile
-
core/
modules/ system/ tests/ modules/ autowire_test/ src/ TestInjection3.php
View source
<?php
declare (strict_types=1);
namespace Drupal\autowire_test;
use Drupal\Core\Security\TrustedCallbackInterface;
/**
* A service that is autowired.
*/
class TestInjection3 implements TrustedCallbackInterface, TestInjectionInterface {
/**
* {@inheritdoc}
*/
public static function trustedCallbacks() {
return [];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
TestInjection3 | A service that is autowired. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.