| 1 |
efrain |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
declare(strict_types=1);
|
|
|
4 |
|
|
|
5 |
namespace OpenSpout\Writer\Common\Helper;
|
|
|
6 |
|
|
|
7 |
use OpenSpout\Common\Exception\IOException;
|
|
|
8 |
use OpenSpout\Common\Helper\FileSystemHelperInterface;
|
|
|
9 |
|
|
|
10 |
/**
|
|
|
11 |
* @internal
|
|
|
12 |
*/
|
|
|
13 |
interface FileSystemWithRootFolderHelperInterface extends FileSystemHelperInterface
|
|
|
14 |
{
|
|
|
15 |
/**
|
|
|
16 |
* Creates all the folders needed to create a spreadsheet, as well as the files that won't change.
|
|
|
17 |
*
|
|
|
18 |
* @throws IOException If unable to create at least one of the base folders
|
|
|
19 |
*/
|
|
|
20 |
public function createBaseFilesAndFolders(): void;
|
|
|
21 |
|
|
|
22 |
public function getRootFolder(): string;
|
|
|
23 |
|
|
|
24 |
public function getSheetsContentTempFolder(): string;
|
|
|
25 |
}
|