Class

eZ\Publish\SPI\IO\BinaryFile

class BinaryFile

This class provides an abstract access to binary files.

It allows reading & writing of files in a unified way

Properties

string $id Unique persistence layer identifier for this file Ex: images/media/images/ez-logo/209-1-eng-GB/eZ-Logo.gif, or original/application/2b042138835bb5f48beb9c9df6e86de4.pdf.
int $size File size, in bytes.
DateTime $mtime File modification time.
string $uri HTTP URI to the binary file.
string $mimeType The file's mime type.