mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
7dc6b36c16
NEW Unique key for DataObject
15 lines
272 B
PHP
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';
|
|
}
|
|
}
|