Copied!

BinaryFileCreateStruct

BinaryFileCreateStruct.php : 12

Create struct for BinaryFile objects.

Properties

public $id

BinaryFileCreateStruct.php : 44

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

public mixed $id

public $mimeType

BinaryFileCreateStruct.php : 35

The file's mime type If not provided, will be auto-detected by the IOService Example: text/xml.

public string $mimeType

public $mtime

BinaryFileCreateStruct.php : 26

File modification time.

public DateTime $mtime

public $size

BinaryFileCreateStruct.php : 19

File size, in bytes.

public int $size

Methods

publicgetInputStream()

BinaryFileCreateStruct.php : 54

Returns the file's input resource.

public getInputStream() : resource

Return values

resource

publicsetInputStream()

BinaryFileCreateStruct.php : 64

Sets the file's input resource.

public setInputStream(resource $inputStream) : mixed

Parameters

Name Type Default value Description
$inputStream resource - -