/** * Sets the application * * @param ApplicationInterface $application * @param string|null $status * @return $this */ public function setApplication(ApplicationInterface $application, $status = null) { $this->application = $application; $this->setTo($application->getJob()->getUser()->getInfo()->getEmail(), $application->getJob()->getUser()->getInfo()->getDisplayName(false)); $this->setVariablesFromApplication($application); return $this; }
/** * Gets the title of the job posting * * @return mixed */ protected function getJobTitle() { return $this->application->getJob()->getTitle(); }