Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Codegen\Snapshot; | |
| 6 | ||
| 7 | use Psr\Log\LoggerInterface; | |
| 8 | use Stewart\Client\Connection\ConnectionConfig; | |
| 9 | use Stewart\Client\Exception\HaClientException; | |
| 10 | use Stewart\Codegen\Exception\CodegenException; | |
| 11 | ||
| 12 | interface SnapshotFetcher | |
| 13 | { | |
| 14 | /** | |
| 15 | * @throws HaClientException | |
| 16 | * @throws CodegenException | |
| 17 | */ | |
| 18 | public function fetchSnapshot(ConnectionConfig $connection, LoggerInterface $logger): Snapshot; | |
| 19 | } |