silverstripe-framework/tests/php/View/ViewableDataTest/ViewableDataTextExtension.php
2023-02-01 16:05:54 +13:00

25 lines
519 B
PHP

<?php
namespace SilverStripe\View\Tests\ViewableDataTest;
use SilverStripe\Core\Extension;
use SilverStripe\Dev\TestOnly;
class ViewableDataTestExtension 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';
}
}