/** * Removes resolution file cache object and file from filesystem * * @param Tx_Yag_Domain_Model_ResolutionFileCache $resolutionFileCache */ public function remove($resolutionFileCache) { $cacheFilePath = Tx_Yag_Domain_FileSystem_Div::getT3BasePath() . $resolutionFileCache->getPath(); if (file_exists($cacheFilePath)) { unlink(Tx_Yag_Domain_FileSystem_Div::getT3BasePath() . $resolutionFileCache->getPath()); parent::remove($resolutionFileCache); } }