fileName = $fileName; return $this; } /** * Get fileName * * @return string */ public function getFileName() { return $this->fileName; } /** * Set extension * * @param string $extension * * @return TravelProgramImage */ public function setExtension($extension) { $this->extension = $extension; return $this; } /** * Get extension * * @return string */ public function getExtension() { return $this->extension; } /** * Set description * * @param string $description * * @return TravelProgramImage */ public function setDescription($description) { $this->description = $description; return $this; } /** * Get description * * @return string */ public function getDescription() { return $this->description; } /** * Set type * * @param boolean $type * * @return TravelProgramImage */ public function setType($type) { $this->type = $type; return $this; } /** * Get type * * @return boolean */ public function getType() { return $this->type; } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set program * * @param \AppBundle\Entity\TravelProgram $program * * @return TravelProgramImage */ public function setProgram(\AppBundle\Entity\TravelProgram $program = null) { $this->program = $program; return $this; } /** * Get program * * @return \AppBundle\Entity\TravelProgram */ public function getProgram() { return $this->program; } public function getFileNameWithExtension() { return $this->getFileName() . $this->getExtension(); } }