PHP Class Bolt\Filesystem\UploadContainer

Inheritance: implements Sirius\Upload\Container\ContainerInterface
Mostra file Open project: bolt/bolt Class Usage Examples

Public Methods

Method Description
__construct ( Bolt\Filesystem\FilesystemInterface $filesystem ) Constructor.
delete ( $file )
has ( $file )
isWritable ( )
moveUploadedFile ( $localFile, $destination )
save ( $file, $content )

Method Details

__construct() public method

Constructor.
public __construct ( Bolt\Filesystem\FilesystemInterface $filesystem )
$filesystem Bolt\Filesystem\FilesystemInterface

delete() public method

public delete ( $file )

has() public method

public has ( $file )

isWritable() public method

public isWritable ( )

moveUploadedFile() public method

public moveUploadedFile ( $localFile, $destination )

save() public method

public save ( $file, $content )