2016-12-16 05:34:21 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace SilverStripe\Core\Tests\Config\ConfigTest;
|
|
|
|
|
|
|
|
use SilverStripe\Core\Config\Config;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
|
|
|
|
class First extends Config implements TestOnly
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @config
|
|
|
|
*/
|
2020-04-20 19:58:09 +02:00
|
|
|
private static $first = ['test_1'];
|
2016-12-16 05:34:21 +01:00
|
|
|
/**
|
|
|
|
* @config
|
|
|
|
*/
|
2020-04-20 19:58:09 +02:00
|
|
|
private static $second = ['test_1'];
|
2016-12-16 05:34:21 +01:00
|
|
|
/**
|
|
|
|
* @config
|
|
|
|
*/
|
|
|
|
private static $third = 'test_1';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @config
|
|
|
|
*/
|
|
|
|
private static $bool = true;
|
|
|
|
/**
|
|
|
|
* @config
|
|
|
|
*/
|
|
|
|
private static $int = 42;
|
|
|
|
/**
|
|
|
|
* @config
|
|
|
|
*/
|
|
|
|
private static $string = 'value';
|
|
|
|
/**
|
|
|
|
* @config
|
|
|
|
*/
|
|
|
|
private static $nullable = 'value';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @config
|
|
|
|
*/
|
|
|
|
private static $default_false = false;
|
|
|
|
/**
|
|
|
|
* @config
|
|
|
|
*/
|
|
|
|
private static $default_null = null;
|
|
|
|
/**
|
|
|
|
* @config
|
|
|
|
*/
|
|
|
|
private static $default_zero = 0;
|
|
|
|
public static $default_emtpy_string = '';
|
|
|
|
}
|