| 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 |