first commit

This commit is contained in:
2024-07-12 08:03:32 +07:00
commit 7f9359656d
122 changed files with 13427 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Services;
class RouteService
{
public function isProduction()
{
return env('APP_ENV') === 'production';
}
public function isStaging()
{
return env('APP_ENV') === 'staging';
}
public function getPaymentsSubdomain()
{
$domain = request()->getHost();
return $domain;
}
}