silverstripe-framework/tests/php/View/ViewableDataTestObject.php

20 lines
362 B
PHP

<?php
namespace SilverStripe\View\Tests;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class ViewableDataTestObject extends DataObject implements TestOnly
{
private function privateMethod(): string
{
return 'Private function';
}
public function publicMethod(): string
{
return 'Public function';
}
}