silverstripe-framework/tests/php/Model/ModelDataTest/ViewableDataTextExtension.php
Guy Sartorelli e2e32317d6
API Move various classes to more appropriate namespaces (#11370)
Also rename ViewableData to ModelData ahead of the template layer
lift-and-shift
2024-09-23 14:31:50 +12:00

25 lines
514 B
PHP

<?php
namespace SilverStripe\Model\Tests\ModelDataTest;
use SilverStripe\Core\Extension;
use SilverStripe\Dev\TestOnly;
class ModelDataTestExtension extends Extension implements TestOnly
{
private function privateMethodFromExtension(): string
{
return 'Private function';
}
protected function protectedMethodFromExtension(): string
{
return 'Protected function';
}
public function publicMethodFromExtension(): string
{
return 'Public function';
}
}