Files
Chamilo/vendor/knplabs/gaufrette/src/Gaufrette/Adapter/FileFactory.php
2025-04-10 12:24:57 +02:00

25 lines
448 B
PHP

<?php
namespace Gaufrette\Adapter;
use Gaufrette\File;
use Gaufrette\Filesystem;
/**
* Interface for the file creation class.
*
* @author Leszek Prabucki <leszek.prabucki@gmail.com>
*/
interface FileFactory
{
/**
* Creates a new File instance and returns it.
*
* @param string $key
* @param Filesystem $filesystem
*
* @return File
*/
public function createFile($key, Filesystem $filesystem);
}