mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
18 lines
340 B
PHP
18 lines
340 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Forms\Tests\UploadFieldTest;
|
|
|
|
use SilverStripe\Assets\File;
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
/**
|
|
* Used for testing the create-on-upload
|
|
*/
|
|
class ExtendedFile extends File implements TestOnly
|
|
{
|
|
|
|
private static $has_many = array(
|
|
'HasOneExtendedRecords' => 'UploadFieldTest_Record.HasOneExtendedFile'
|
|
);
|
|
}
|