class BarClass in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/BarClass.php \Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses\BarClass
- 8 vendor/symfony/dependency-injection/Tests/Fixtures/includes/classes.php \BarClass
- 8 core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\BarClass
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\BarClass
Stub class which acts as a service to test the container.
Hierarchy
- class \Drupal\Tests\Core\DependencyInjection\Fixture\BarClass
Expanded class hierarchy of BarClass
See also
\Drupal\Tests\Core\DependencyInjection\ContainerBuilderTest
\Drupal\Tests\Core\DependencyInjection\Fixture\BazClass
2 files declare their use of BarClass
- ContainerBuilderTest.php in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ ContainerBuilderTest.php - Contains \Drupal\Tests\Core\DependencyInjection\ContainerBuilderTest.
- ContainerTest.php in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ ContainerTest.php - Contains \Drupal\Tests\Core\DependencyInjection\ContainerTest.
10 string references to 'BarClass'
- container11.php in vendor/
symfony/ dependency-injection/ Tests/ Fixtures/ containers/ container11.php - container13.php in vendor/
symfony/ dependency-injection/ Tests/ Fixtures/ containers/ container13.php - ContainerBuilderTest::testAddClassResource in vendor/
symfony/ dependency-injection/ Tests/ ContainerBuilderTest.php - @covers Symfony\Component\DependencyInjection\ContainerBuilder::addClassResource
- ContainerBuilderTest::testCompilesClassDefinitionsOfLazyServices in vendor/
symfony/ dependency-injection/ Tests/ ContainerBuilderTest.php - @covers Symfony\Component\DependencyInjection\ContainerBuilder::compile
- ContainerBuilderTest::testCreateServiceWithExpression in vendor/
symfony/ dependency-injection/ Tests/ ContainerBuilderTest.php
File
- core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Fixture/ BarClass.php, line 16 - Contains \Drupal\Tests\Core\DependencyInjection\Fixture\BarClass.
Namespace
Drupal\Tests\Core\DependencyInjection\FixtureView source
class BarClass {
/**
* Storage for a protected BazClass object.
*
* @var Drupal\Tests\Core\DependencyInjection\Fixture\BazClass
*/
protected $baz;
/**
* Setter for our BazClass object.
*
* This method is called during the service initialization.
*
* @param \Drupal\Tests\Core\DependencyInjection\Fixture\BazClass $baz
* A BazClass object to store.
*/
public function setBaz(BazClass $baz) {
$this->baz = $baz;
}
/**
* Getter for our BazClass object.
*
* @return \Drupal\Tests\Core\DependencyInjection\Fixture\BazClass
* The stored BazClass object.
*/
public function getBaz() {
return $this->baz;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BarClass:: |
protected | property | Storage for a protected BazClass object. | |
BarClass:: |
public | function | Getter for our BazClass object. | |
BarClass:: |
public | function | Setter for our BazClass object. |