class TestServiceWithProtectedMethods
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\TestServiceWithProtectedMethods
- 10 core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\TestServiceWithProtectedMethods
- 11.x core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\TestServiceWithProtectedMethods
Hierarchy
- class \Drupal\Tests\Component\ProxyBuilder\TestServiceWithProtectedMethods
Expanded class hierarchy of TestServiceWithProtectedMethods
File
-
core/
tests/ Drupal/ Tests/ Component/ ProxyBuilder/ ProxyBuilderTest.php, line 482
Namespace
Drupal\Tests\Component\ProxyBuilderView source
class TestServiceWithProtectedMethods {
public function testMethod($parameter) {
}
protected function protectedMethod($parameter) {
}
protected function privateMethod($parameter) {
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
TestServiceWithProtectedMethods::privateMethod | protected | function | |
TestServiceWithProtectedMethods::protectedMethod | protected | function | |
TestServiceWithProtectedMethods::testMethod | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.