first commit
This commit is contained in:
17
app/Helpers/Helper.php
Normal file
17
app/Helpers/Helper.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Helpers;
|
||||
|
||||
|
||||
class Helper
|
||||
{
|
||||
public static function isProduction()
|
||||
{
|
||||
return env('APP_ENV') === 'production';
|
||||
}
|
||||
|
||||
public static function isStaging()
|
||||
{
|
||||
return env('APP_ENV') === 'staging';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user