Skip to content

Commit

Permalink
add Production Environment definition (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverrahner authored Jun 28, 2024
1 parent 44daf1b commit d341490
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/Environment/ProductionEnvironment.php
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;
}
}
}

0 comments on commit d341490

Please sign in to comment.