src/php/main/Eix/Core/Responses/Http/Image.php
public function setFileName($fileName)
    {
        $this->fileName = $fileName;
        $this->setContentType(mime_content_type($this->fileName));
    }
public function setFileName($fileName)
    {
        $this->fileName = $fileName;
        $this->setContentType(mime_content_type($this->fileName));
    }
public function setFileName ( $ fileName ) { $ this -> fileName = $ fileName ; $ this -> setContentType ( mime_content_type ( $ this -> fileName ) ) ; }
Sets the name of the file that contains the image.

@param string $fileName the file name
Sets the name of the file that contains the image .