-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Production Environment definition (#50)
- Loading branch information
1 parent
44daf1b
commit d341490
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php declare(strict_types=1); | ||
|
||
|
||
namespace App\Environment { | ||
class ProductionEnvironment extends AbstractEnvironment | ||
{ | ||
private const API_PREFIX = "/api/v1.0"; | ||
private const REGISTRATION_SERVICE_URL = "https://onboard.my-agrirouter.com"; | ||
private const AUTHORIZATION_SERVICE_URL = "https://goto.my-agrirouter.com"; | ||
|
||
|
||
public function apiPrefix(): string | ||
{ | ||
return self::API_PREFIX; | ||
} | ||
|
||
public function registrationServiceUrl(): string | ||
{ | ||
return self::REGISTRATION_SERVICE_URL; | ||
} | ||
|
||
public function authorizationServiceUrl(): string | ||
{ | ||
return self::AUTHORIZATION_SERVICE_URL; | ||
} | ||
} | ||
} |