mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-31 23:07:47 +02:00
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';
|
|
}
|
|
}
|