Copied!

BinaryFile

BinaryFile.php : 14

This class provides an abstract access to binary files.

It allows reading & writing of files in a unified way

Properties

public $id

BinaryFile.php : 23

Unique persistence layer identifier for this file Ex: images/media/images/ibexa-logo/209-1-eng-GB/Ibexa-Logo.gif, or original/application/2b042138835bb5f48beb9c9df6e86de4.pdf.

public string $id

public $mimeType

BinaryFile.php : 55

The file's mime type.

public string $mimeType

Example: text/xml

Tags
Deprecated

Since 5.3.3, use IO\Handler::getMimeType()

public $mtime

BinaryFile.php : 37

File modification time.

public DateTime $mtime

public $size

BinaryFile.php : 30

File size, in bytes.

public int $size

public $uri

BinaryFile.php : 44

HTTP URI to the binary file.

public string $uri