silverstripe-framework/tests/php/ORM/VersionedTest/PublicExtension.php
2016-11-23 19:25:12 +13:00

18 lines
322 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;
}
}