public function setSelectedJob(JobInterface $job)
    {
        $this->setValueOptions([
            '0' => '',
            $job->getId() => $job->getTitle(),
        ]);

        $this->setValue($job->getId());

        return $this;
    }
public function setSelectedJob(JobInterface $job)
    {
        $this->setValueOptions([
            '0' => '',
            $job->getId() => $job->getTitle(),
        ]);

        $this->setValue($job->getId());

        return $this;
    }
public function setSelectedJob ( JobInterface $ job ) { $ this -> setValueOptions ( [ '0' => '' , $ job -> getId ( ) => $ job -> getTitle ( ) , ] ) ; $ this -> setValue ( $ job -> getId ( ) ) ; return $ this ; }
Set the pre selected job.

@param JobInterface $job

@return self
Set the pre selected job .