Total Complexity | 5 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class FastlyCachePurger implements PurgerInterface |
||
15 | { |
||
16 | private PurgeApi $purgeApi; |
||
17 | private string $fastlyServiceId; |
||
18 | private bool $enablePurge; |
||
19 | private bool $enableSoftPurge; |
||
20 | |||
21 | /** |
||
22 | * @Named("fastlyServiceId=FASTLY_SERVICE_ID,enablePurge=FASTLY_ENABLE_PURGE,enableSoftPurge=FASTLY_ENABLE_SOFT_PURGE") |
||
23 | */ |
||
24 | public function __construct( |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @throws ApiException |
||
38 | */ |
||
39 | public function __invoke(string $tag): void |
||
54 |