mirror of
https://github.com/silverstripe/recipe-cms.git
synced 2024-10-22 08:05:52 +02:00
ENH Add generic types (#79)
This commit is contained in:
parent
e504a22c35
commit
9dbd01e704
@ -4,6 +4,10 @@ namespace {
|
|||||||
|
|
||||||
use SilverStripe\CMS\Controllers\ContentController;
|
use SilverStripe\CMS\Controllers\ContentController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @template T of Page
|
||||||
|
* @extends ContentController<T>
|
||||||
|
*/
|
||||||
class PageController extends ContentController
|
class PageController extends ContentController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user