public function __debugInfo()
{
$arr = ['short_name' => $this->short_name, 'value' => $this->get()];
foreach (['type', 'system', 'never_persist', 'never_save', 'read_only', 'ui', 'join'] as $key) {
if (isset($this->{$key})) {
$arr[$key] = $this->{$key};
}
}
return $arr;
}