Added /api/settings to retrieve all VA settings #120

This commit is contained in:
Nabeel Shahzad
2018-01-06 15:41:23 -06:00
parent fbfefa4a3b
commit d63f0ee2f8
5 changed files with 73 additions and 0 deletions

View File

@@ -44,4 +44,18 @@ class Setting extends BaseModel
}
});
}
/**
* Override the casting mechanism
* @param string $key
* @return mixed|string
*/
/*protected function getCastType($key)
{
if ($key === 'value' && !empty($this->type)) {
return $this->type;
} else {
return parent::getCastType($key);
}
}*/
}