silverstripe-framework/tests/php/View/ViewableDataTest/ViewableDataTextExtension.php

25 lines
519 B
PHP
Raw Normal View History

<?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';
}
}