function BarClass::getBaz

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

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.