silverstripe-cms/tests/model/VirtualPageTest_ClassAController.php

16 lines
263 B
PHP
Raw Normal View History

<?php
use SilverStripe\Dev\TestOnly;
class VirtualPageTest_ClassAController extends PageController implements TestOnly
{
private static $allowed_actions = [
'testaction'
];
public function testMethod()
{
return 'hello';
}
}