1 | <?php declare(strict_types=1); |
||
8 | final class LogglyLogger extends AbstractLogglyLogger |
||
9 | { |
||
10 | /** |
||
11 | * @var Client |
||
12 | */ |
||
13 | private $httpClient; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $token; |
||
19 | |||
20 | 4 | private function __construct(Client $httpClient, string $token) |
|
25 | |||
26 | 4 | public static function create(LoopInterface $loop, string $token): self |
|
32 | |||
33 | public static function createFromHttpClient(Client $httpClient, string $token): self |
||
37 | |||
38 | protected function send(string $data): void |
||
50 | } |
||
51 |