/** * Get Job Application Event with the passed parameters * * @param int $id Job Application Event Id * @param int $appId Job Application Event Id * @param string $createdTime * @param string $createdBy * @param int $owner * @param string $eventTime * @param int $eventType * @param int $status * @param string $notes */ private function _getEvent($id, $appId, $createdTime, $createdBy, $owner, $eventTime, $eventType, $status, $notes) { $event = new JobApplicationEvent(); $event->setId($id); $event->setApplicationId($appId); $event->setCreatedTime($createdTime); $event->setCreatedBy($createdBy); $event->setOwner($owner); $event->setEventTime($eventTime); $event->setEventType($eventType); $event->setStatus($status); $event->setNotes($notes); return $event; }