class MockController

Dummy class, just for testing.

Hierarchy

Expanded class hierarchy of MockController

File

drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MockController.php, line 15
Contains Drupal\system\Tests\Routing\MockController.

Namespace

Drupal\system\Tests\Routing
View source
class MockController extends ContainerAware {

  /**
   * Does nothing; this is just a fake controller method.
   */
  public function run() {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ContainerAware::$container protected property @api
ContainerAware::setContainer public function Sets the Container associated with this Controller. Overrides ContainerAwareInterface::setContainer
MockController::run public function Does nothing; this is just a fake controller method.