Total Complexity | 4 |
Total Lines | 5 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | $identity = new class implements \Promopult\Integra\IdentityInterface { |
||
6 | public function getHash(): string { return getenv('__HASH__'); } |
||
7 | public function getCryptKey(): string { return getenv('__CRYPT_KEY__'); } |
||
8 | public function getPartnerPath(): string { return getenv('__PARTNER_PATH__'); } |
||
9 | public function getApiHost(): string { return getenv('__API_HOST__'); } |
||
10 | }; |
||
11 | |||
12 | /* Экземпляр класса реализующий шифрование данных */ |
||
24 |