silverstripe-framework/src/Control/NestedController.php
Sam Minnee 7a10c194bd NEW: Move code files into src/ folder.
This updates framework to be more in keeping with PHP conventions.
2016-11-01 13:37:24 +13:00

22 lines
542 B
PHP

<?php
namespace SilverStripe\Control;
/**
* Interface that is implemented by controllers that are designed to hand control over to another controller.
* ModelAsController, which selects up a SiteTree object and passes control over to a suitable subclass of ContentController, is a good
* example of this.
*
* Controllers that implement this interface must always return a nested controller.
*/
interface NestedController {
/**
* Get overriding controller
*
* @return Controller
*/
public function getNestedController();
}