| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class NewRelicConfig |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var int |
||
| 9 | */ |
||
| 10 | private $accountId; |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $apiKey; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * NewRelicConfig constructor. |
||
| 18 | * @param $accountId |
||
| 19 | * @param $apiKey |
||
| 20 | */ |
||
| 21 | public function __construct(int $accountId, string $apiKey) |
||
| 22 | { |
||
| 23 | $this->accountId = $accountId; |
||
| 24 | $this->apiKey = $apiKey; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return int |
||
| 29 | */ |
||
| 30 | public function getAccountId(): int |
||
| 31 | { |
||
| 32 | return $this->accountId; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getApiKey(): string |
||
| 41 | } |
||
| 42 | } |
||
| 43 |