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

@@ -19,15 +19,15 @@ class ServiceApplication 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_stripprefix_enabled()
public function isStripprefixEnabled()
{
return data_get($this, 'is_stripprefix_enabled', true);
}
public function is_gzip_enabled()
public function isGzipEnabled()
{
return data_get($this, 'is_gzip_enabled', true);
}