diff --git a/jobs/Entity/Applicant.php b/jobs/Entity/Applicant.php index bd8b0bb..c451a46 100644 --- a/jobs/Entity/Applicant.php +++ b/jobs/Entity/Applicant.php @@ -8,13 +8,5 @@ class Applicant { public $cv; public $jobId; private $jobsTable; - - public function __construct(\jobs\JobDatabaseTable $jobsTable) { - $this->jobsTable = $jobsTable; - } - - public function getJob() { - return $this->jobsTable->find(['id'], ['value0' => $this->jobId])[0]; - } } ?> \ No newline at end of file