You are here

public function BarClass::getBaz in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\BarClass::getBaz()

Getter for our BazClass object.

Return value

\Drupal\Tests\Core\DependencyInjection\Fixture\BazClass The stored BazClass object.

File

core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php, line 38

Class

BarClass
Stub class which acts as a service to test the container.

Namespace

Drupal\Tests\Core\DependencyInjection\Fixture

Code

public function getBaz() {
  return $this->baz;
}