Prose\UsingFile::removeFile PHP Метод

removeFile() публичный Метод

public removeFile ( $filename )
    public function removeFile($filename)
    {
        // what are we doing?
        $log = usingLog()->startAction("delete the file '{$filename}'");
        // remove the file
        if (file_exists($filename)) {
            unlink($filename);
        } else {
            $log->endAction("file not found");
        }
        // all done
        $log->endAction();
        return $this;
    }
UsingFile