public function type($name, $value)
{
$schema = Config::table($this->name)->schema();
if (array_key_exists($name, $schema) && $schema[$name] == gettype($value)) {
return TRUE;
}
throw new LazerException('Wrong data type');
}