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