mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
738ca487ac
Accidentally broke this in #10670
25 lines
519 B
PHP
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';
|
|
}
|
|
}
|