final |
|---|
readonly |
A stored file, as the delivery needs it: where the bytes are, what they are, what to call them.
mime is the type detected when the file was stored — never the extension, never the request. sha256 is the hash
over the bytes, which never change; it is the file's entity tag.
| Methods | ||
|---|---|---|
public
|
__construct(string $disk, string $path, string $mime, string $name, int $size, string $sha256)
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$disk
|
# |
public
|
string
|
$path
|
# |
public
|
string
|
$mime
|
# |
public
|
string
|
$name
|
# |
public
|
int
|
$size
|
# |
public
|
string
|
$sha256
|
# |