silverstripe-framework/tests/php/ORM/UniqueKey/ExtraKeysExtension.php
Mojmir Fendek 7dc6b36c16
Unique key for DataObject (#9400)
NEW Unique key for DataObject
2020-05-04 09:10:51 +12:00

15 lines
272 B
PHP

<?php
namespace SilverStripe\Tests\ORM\UniqueKey;
use SilverStripe\Core\Extension;
use SilverStripe\Dev\TestOnly;
class ExtraKeysExtension extends Extension implements TestOnly
{
public function cacheKeyComponent(): string
{
return 'extra-key';
}
}