function BarClass::getBaz

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\BarClass::getBaz()
  2. 10 core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\BarClass::getBaz()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.