silverstripe-cms/tests/model/SiteTreeTest_DataObject.php
2017-07-28 14:02:29 -05:00

29 lines
502 B
PHP

<?php
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
/**
* Class SiteTreeTest_DataObject
*
* @property string $Title
* @method Pages[]|ManyManyList $Pages
*/
class SiteTreeTest_DataObject extends DataObject implements TestOnly
{
/**
* @var array
*/
private static $db = [
'Title' => 'Varchar',
];
/**
* @var array
*/
private static $many_many = [
'Pages' => SiteTree::class,
];
}