| 1 | <?php |
||
| 2 | |||
| 3 | namespace LeKoala\PhoneNumber\Test; |
||
| 4 | |||
| 5 | use SilverStripe\ORM\DataObject; |
||
| 6 | use SilverStripe\Dev\TestOnly; |
||
| 7 | use LeKoala\PhoneNumber\DBPhone; |
||
| 8 | |||
| 9 | class Test_PhoneNumberModel extends DataObject implements TestOnly |
||
| 10 | { |
||
| 11 | private static $db = [ |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 12 | "Phone" => DBPhone::class, |
||
| 13 | "CountryCode" => 'Varchar(2)', |
||
| 14 | ]; |
||
| 15 | private static $table_name = 'PhoneNumberModel'; |
||
|
0 ignored issues
–
show
|
|||
| 16 | } |
||
| 17 |