/** * Delete a file */ public function unlink($path) { if (!$this->initPath($path)) { return FALSE; } $filename = $this->getFileName(); if (!$this->fileSystem->unlink($filename)) { trigger_error("{$path} is not a file", E_USER_WARNING); return FALSE; } return TRUE; }
public function tearDown() { FileSystem::unlink($this->tmpFile->getAbsolutePath()); }