You are here

class TestServiceWithProtectedMethods in Drupal 8

Same name and namespace in other branches
  1. 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 412
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