im = $im; } /** * Sets the filename * * @param string $filename */ function setFilename($filename) { $this->filename = $filename; } /** * Method needed to draw the image based on its specification (JPG, GIF, etc.) */ function draw() {} // abstract public } ?>