public function deleteFile($filePath)
    {
        $this->throwIfOperationNotInBaseFolder($filePath);

        if (file_exists($filePath) && is_file($filePath)) {
            unlink($filePath);
        }
    }
public function deleteFile($filePath)
    {
        $this->throwIfOperationNotInBaseFolder($filePath);

        if (file_exists($filePath) && is_file($filePath)) {
            unlink($filePath);
        }
    }
public function deleteFile ( $ filePath ) { $ this -> throwIfOperationNotInBaseFolder ( $ filePath ) ; if ( file_exists ( $ filePath ) && is_file ( $ filePath ) ) { unlink ( $ filePath ) ; } }
Delete the file at the given path

@param string $filePath Path of the file to delete
@return void
@throws \Box\Spout\Common\Exception\IOException If the file path is not inside of the base folder
Delete the file at the given path