public function delete(QtiFile $file)
    {
        $deletion = @unlink($file->getPath());
        if ($deletion === false) {
            $msg = "The File System File located at '" . $file->getPath() . "' could not be deleted gracefully.";
            throw new FileManagerException($msg);
        }
    }
public function delete(QtiFile $file)
    {
        $deletion = @unlink($file->getPath());
        if ($deletion === false) {
            $msg = "The File System File located at '" . $file->getPath() . "' could not be deleted gracefully.";
            throw new FileManagerException($msg);
        }
    }
public function delete ( QtiFile $ file ) { $ deletion = @ unlink ( $ file -> getPath ( ) ) ; if ( $ deletion === false ) { $ msg = "The File System File located at '" . $ file -> getPath ( ) . "' could not be deleted gracefully." ; throw new FileManagerException ( $ msg ) ; } }
Delete a FileSystemFile object from the persistence.

@throws \qtism\common\datatypes\files\FileManagerException
Delete a FileSystemFile object from the persistence .