-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added google for jobs modification event (#114)
* feat: added google for jobs event * feat: added google for jobs modification event
- Loading branch information
Benjamin Jasper
authored
Sep 13, 2023
1 parent
511afef
commit 8b03410
Showing
4 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
namespace ITX\Jobapplications\Event; | ||
|
||
use ITX\Jobapplications\Domain\Model\Posting; | ||
|
||
class ModifyGoogleForJobsDataEvent | ||
{ | ||
protected array $googleForJobsData; | ||
protected Posting $posting; | ||
public function __construct(array $googleForJobsData, Posting $posting) { | ||
$this->googleForJobsData = $googleForJobsData; | ||
$this->posting = $posting; | ||
} | ||
|
||
public function getGoogleForJobsData(): array | ||
{ | ||
return $this->googleForJobsData; | ||
} | ||
|
||
public function setGoogleForJobsData(array $googleForJobsData): void | ||
{ | ||
$this->googleForJobsData = $googleForJobsData; | ||
} | ||
|
||
public function getPosting(): Posting | ||
{ | ||
return $this->posting; | ||
} | ||
} |