public function __construct(DocumentManager $documentManager, JobService $jobService, ProfileService $profileService, LoggerInterface $logger)
 {
     $this->dm = $documentManager;
     $this->jobService = $jobService;
     $this->logger = $logger;
     $this->profiles = $profileService->getProfiles();
 }
 public function __construct($targetProfile, JobService $jobService, ProfileService $profileService, LoggerInterface $logger)
 {
     $this->targetProfile = $targetProfile;
     $this->jobService = $jobService;
     $this->logger = $logger;
     $this->profiles = $profileService->getProfiles();
 }