You are here

class MockContainerAware in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php \Drupal\Tests\Core\Controller\MockContainerAware

Hierarchy

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\Controller
View source
class MockContainerAware extends ContainerAware {
  public function getResult() {
    return 'This is container aware.';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ContainerAware::$container protected property
ContainerAware::setContainer public function Sets the Container associated with this Controller. Overrides ContainerAwareInterface::setContainer
MockContainerAware::getResult public function