final class FilesystemImageFileWriter implements ImageFileWriterInterface (View source)

Writes already encoded image bytes to a caller-selected filesystem path.

It does not choose storage locations, filenames, public URLs, or retention policy.

Constants

private PUBLIC_DIRECTORY_MODE

private PUBLIC_FILE_MODE

Methods

__construct(Filesystem $filesystem)
void
write(EncodedImage $image, string $targetPath)
void

Details

__construct

__construct(Filesystem $filesystem)

No description

Parameters

Filesystem $filesystem

write

void write(EncodedImage $image, string $targetPath)

No description

Parameters

EncodedImage $image
string $targetPath

Return Value

void