Свойство | Type | Description | |
---|---|---|---|
$fileSize | integer | The size of this object's data | |
$filename | string | The suggested filename | |
$md5 | string | MD5 hash identifying this object's data | |
$mediaType | string | The IANA media type of the stored data | |
$relativePublicationPath | string | A suggested relative path for publication of this data | |
$sha1 | string | SHA1 hash identifying this object's data | |
$stream | Closure | resource | A stream (or, before it is used the first time, a Closure which returns a stream) which can deliver the data of this Object |
Méthode | Description | |
---|---|---|
getFileSize ( ) : integer | Returns the size of the content of this storage object | |
getFilename ( ) : string | Retrieve the suggested filename of this Object | |
getMd5 ( ) : string | Returns the md5 hash of the content of this storage object | |
getMediaType ( ) : string | Retrieve the IANA media type of this Object | |
getRelativePublicationPath ( ) : string | Retrieve the suggested relative publication path | |
getSha1 ( ) : string | Retrieve the SHA1 hash identifying the data of this object | |
getStream ( ) : resource | Returns the data stream which can deliver the content of this storage object | |
setFileSize ( integer $fileSize ) : void | Sets the size of the content of this storage object | |
setFilename ( string $filename ) : void | Set the suggested filename of this Object | |
setMd5 ( string $md5 ) : void | Sets the md5 hash of the content of this storage object | |
setMediaType ( string $mediaType ) : void | Set the IANA media type of this Object | |
setRelativePublicationPath ( string $relativePublicationPath ) : void | Set the suggested relative publication path | |
setSha1 ( string $sha1 ) : void | Set the SHA1 hash identifying the data of this Object | |
setStream ( resource | Closure $stream ) : void | Sets the data stream which can deliver the content of this storage object |
public getFileSize ( ) : integer | ||
Résultat | integer | The content size |
public getFilename ( ) : string | ||
Résultat | string |
public getMediaType ( ) : string | ||
Résultat | string |
public getRelativePublicationPath ( ) : string | ||
Résultat | string |
public getStream ( ) : resource | ||
Résultat | resource | A data stream resource; if the stream is seekable, it is rewound to the start |
public setFileSize ( integer $fileSize ) : void | ||
$fileSize | integer | The content size |
Résultat | void |
public setFilename ( string $filename ) : void | ||
$filename | string | |
Résultat | void |
public setMediaType ( string $mediaType ) : void | ||
$mediaType | string | |
Résultat | void |
public setRelativePublicationPath ( string $relativePublicationPath ) : void | ||
$relativePublicationPath | string | |
Résultat | void |
protected int $fileSize | ||
Résultat | integer |
protected string $md5 | ||
Résultat | string |
protected string $mediaType | ||
Résultat | string |
protected string $relativePublicationPath | ||
Résultat | string |
protected string $sha1 | ||
Résultat | string |
protected Closure|resource $stream | ||
Résultat | Closure | resource |