Value object representing a file uploaded through an HTTP request.
Instances of this interface are considered immutable; all methods that might change state MUST be implemented such that they retain the internal state of the current instance and return an instance that contains the changed state.
Methods | ||
---|---|---|
public
|
getStream(): StreamInterface
|
# |
public
|
moveTo(string $targetPath): void
|
# |
public
|
getSize(): int|null
|
# |
public
|
getError(): int
|
# |
public
|
getClientFilename(): string|null
|
# |
public
|
getClientMediaType(): string|null
|
# |