mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
19 lines
351 B
PHP
19 lines
351 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\Comments\Tests\Stubs;
|
||
|
|
||
|
use SilverStripe\Control\Controller;
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
|
||
|
/**
|
||
|
* @package comments
|
||
|
* @subpackage tests
|
||
|
*/
|
||
|
class CommentableItemController extends Controller implements TestOnly
|
||
|
{
|
||
|
public function index()
|
||
|
{
|
||
|
return CommentableItem::get()->first()->CommentsForm();
|
||
|
}
|
||
|
}
|