Method |
Description |
|
__construct ( Jarves $jarves, JarvesConfig $jarvesConfig, Symfony\Component\DependencyInjection\ContainerInterface $container, Filesystem $cacheFilesystem ) |
|
|
copy ( $source, $target ) |
|
|
copyFolder ( $from, $to ) |
|
|
createTempFolder ( string $prefix = '', boolean $fullPath = true ) : string |
Creates a temp folder and returns its path. |
|
downloadFolder ( $path, $to = null ) |
|
|
getAdapter ( string $path = null ) : Jarves\Filesystem\Adapter\AdapterInterface |
|
|
getFile ( $path ) : Jarves\File\FileInfoInterface | Jarves\File\FileInfoInterface[] | File |
|
|
getFiles ( string $path ) : File[] |
|
|
getPath ( integer | string $id ) : string |
Translates the internal id to the real path. |
|
move ( $source, $target ) |
|
|
newAdapter ( string $serviceId, string $mountPath, array $params ) : Jarves\Filesystem\Adapter\AdapterInterface |
|
|
paste ( array | string $source, string $target, string $action = 'move' ) : boolean |
Copies or moves files to a destination. |
|
wrap ( Jarves\File\FileInfoInterface | Jarves\File\FileInfoInterface[] $fileInfo ) : Jarves\File\FileInfoInterface | Jarves\File\FileInfoInterface[] | File |
Returns a File object. If the file behind the file's 'path'
does not exists in the database, it will be created. |
|