| @@ 60-70 (lines=11) @@ | ||
| 57 | * @param JobValidatorServiceInterface $jobEntityValidatorService |
|
| 58 | * @param LoggerInterface $logger |
|
| 59 | */ |
|
| 60 | public function __construct( |
|
| 61 | ApiClientInterface $apiClient, |
|
| 62 | CacheInterface $cache, |
|
| 63 | JobValidatorServiceInterface $jobEntityValidatorService, |
|
| 64 | LoggerInterface $logger |
|
| 65 | ) { |
|
| 66 | $this->apiClient = $apiClient; |
|
| 67 | $this->cache = $cache; |
|
| 68 | $this->jobEntityValidatorService = $jobEntityValidatorService; |
|
| 69 | $this->logger = $logger; |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * delete cache job.list if a job was removed |
|
| @@ 44-54 (lines=11) @@ | ||
| 41 | ||
| 42 | private $cacheHasToDelete = false; |
|
| 43 | ||
| 44 | public function __construct( |
|
| 45 | ApiClientInterface $apiClient, |
|
| 46 | CacheInterface $cache, |
|
| 47 | JobValidatorServiceInterface $jobEntityValidatorService, |
|
| 48 | LoggerInterface $logger |
|
| 49 | ) { |
|
| 50 | $this->apiClient = $apiClient; |
|
| 51 | $this->jobEntityValidatorService = $jobEntityValidatorService; |
|
| 52 | $this->cache = $cache; |
|
| 53 | $this->logger = $logger; |
|
| 54 | } |
|
| 55 | ||
| 56 | public function __destruct() |
|
| 57 | { |
|