class TestServiceWithProtectedMethods in Drupal 9
Same name and namespace in other branches
- 8 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
Hierarchy
- class \Drupal\Tests\Component\ProxyBuilder\TestServiceWithProtectedMethods
Expanded class hierarchy of TestServiceWithProtectedMethods
File
- core/
tests/ Drupal/ Tests/ Component/ ProxyBuilder/ ProxyBuilderTest.php, line 482 - Contains \Drupal\Tests\Component\ProxyBuilder\ProxyBuilderTest.
Namespace
Drupal\Tests\Component\ProxyBuilderView source
class TestServiceWithProtectedMethods {
public function testMethod($parameter) {
}
protected function protectedMethod($parameter) {
}
protected function privateMethod($parameter) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestServiceWithProtectedMethods:: |
protected | function | ||
TestServiceWithProtectedMethods:: |
protected | function | ||
TestServiceWithProtectedMethods:: |
public | function |