mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
8dd644d25d
Namespace all templates Move difflib and BBCodeParser2 to thirdparty Remove deprecated API marked for removal in 4.0
22 lines
542 B
PHP
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();
|
|
|
|
}
|