/** * Deletes the file belonging to the album cover for an album. * * @param \Photo\Model\Album $album */ public function deleteAlbumCover($album) { $this->getPhotoService()->deletePhotoFile($album->getCoverPath()); }