You are here

class TestServiceWithProtectedMethods in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\TestServiceWithProtectedMethods
  2. 9 core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\TestServiceWithProtectedMethods

Hierarchy

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\ProxyBuilder
View source
class TestServiceWithProtectedMethods {
  public function testMethod($parameter) {
  }
  protected function protectedMethod($parameter) {
  }
  protected function privateMethod($parameter) {
  }

}

Members