added kashkool
This commit is contained in:
@@ -51,6 +51,12 @@ class ConfigService
|
||||
return filter_var($value, FILTER_VALIDATE_BOOLEAN);
|
||||
}
|
||||
|
||||
/** فروشگاهی (قطره / کشکول) — روتها و رفتار store فقط وقتی true باشد فعال میشوند */
|
||||
public function isStore(): bool
|
||||
{
|
||||
return $this->getBool('is_store', false);
|
||||
}
|
||||
|
||||
public function getInt(string $key, int $default = 0): int
|
||||
{
|
||||
$value = $this->get($key, $default);
|
||||
|
||||
Reference in New Issue
Block a user