Refactor method names to use camel case

This commit is contained in:
Andras Bacsai
2024-03-04 11:01:14 +01:00
parent b4908cfcb4
commit c20aa0b256
31 changed files with 71 additions and 49 deletions

View File

@@ -17,13 +17,17 @@ class ServiceDatabase extends BaseModel
$service->fileStorages()->delete();
});
}
public function is_log_drain_enabled()
public function isLogDrainEnabled()
{
return data_get($this, 'is_log_drain_enabled', false);
}
public function is_gzip_enabled()
public function isStripprefixEnabled()
{
return true;
return data_get($this, 'is_stripprefix_enabled', true);
}
public function isGzipEnabled()
{
return data_get($this, 'is_gzip_enabled', true);
}
public function type()
{