value = $value; $this->start = $start; $this->end = $end; $this->name = $name; } /** * Get value of the job * * @return float * * @since 1.0.0 */ public function getValue() : float { return $this->value; } /** * Get start time of the job * * @return \DateTime * * @since 1.0.0 */ public function getStart() : \DateTime { return $this->start; } /** * Get end time of the job * * @return \DateTime * * @since 1.0.0 */ public function getEnd() : ?\DateTime { return $this->end; } /** * Get the name of the job * * @return string * * @since 1.0.0 */ public function getName() : string { return $this->name; } }