/**
  * 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;
 }
Example #2
0
 /**
  * Gets the title of the job posting
  *
  * @return mixed
  */
 protected function getJobTitle()
 {
     return $this->application->getJob()->getTitle();
 }