class MockContainerAware in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php \Drupal\Tests\Core\Controller\MockContainerAware
Hierarchy
- class \Symfony\Component\DependencyInjection\ContainerAware implements ContainerAwareInterface
- class \Drupal\Tests\Core\Controller\MockContainerAware
Expanded class hierarchy of MockContainerAware
File
- core/
tests/ Drupal/ Tests/ Core/ Controller/ ControllerResolverTest.php, line 282 - Contains \Drupal\Tests\Core\Controller\ControllerResolverTest.
Namespace
Drupal\Tests\Core\ControllerView source
class MockContainerAware extends ContainerAware {
public function getResult() {
return 'This is container aware.';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerAware:: |
protected | property | ||
ContainerAware:: |
public | function |
Sets the Container associated with this Controller. Overrides ContainerAwareInterface:: |
|
MockContainerAware:: |
public | function |