silverstripe-framework/tests/php/ORM/VersionedTest/PublicExtension.php
2016-12-19 16:08:19 +13:00

18 lines
337 B
PHP

<?php
namespace SilverStripe\ORM\Tests\VersionedTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataExtension;
/**
* Alters stage mode of extended object to be public
*/
class PublicExtension extends DataExtension implements TestOnly
{
public function canViewNonLive($member = null)
{
return true;
}
}