| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentCart\OpenSpout\Writer\Common\Helper; |
| 4 |
|
| 5 |
use FluentCart\OpenSpout\Common\Helper\FileSystemHelperInterface; |
| 6 |
/** |
| 7 |
* This interface describes helper functions to help with the file system operations |
| 8 |
* like files/folders creation & deletion. |
| 9 |
*/ |
| 10 |
interface FileSystemWithRootFolderHelperInterface extends FileSystemHelperInterface |
| 11 |
{ |
| 12 |
/** |
| 13 |
* Creates all the folders needed to create a spreadsheet, as well as the files that won't change. |
| 14 |
* |
| 15 |
* @throws \OpenSpout\Common\Exception\IOException If unable to create at least one of the base folders |
| 16 |
*/ |
| 17 |
public function createBaseFilesAndFolders(); |
| 18 |
/** |
| 19 |
* @return string |
| 20 |
*/ |
| 21 |
public function getRootFolder(); |
| 22 |
} |
| 23 |
|