Zum Hauptinhalt springen

Zymba Documentation

ZeyOS.TempFile

object @ZeyOS.TempFile(@Base) {
construct(string $name) {}
delete(): $this {}
getName(): string {}
getPath(): string {}
read(): string {}
readJSON(): mixed {}
reserve(): string {}
toString(): string {}
write(string $string): $this {}
writeJSON(mixed $value): $this {}
}

Prototype

Base

Methods

$this.construct(string $name): void
Parameters
NameTypeValueDefault
namestring""
$this.delete(): this
Returns
TypeValue
$this
$this.getName(): string
Returns
TypeValue
string
$this.getPath(): string
Returns
TypeValue
string
$this.read(): string
Returns
TypeValue
string
$this.readJSON(): mixed
Returns
TypeValue
mixed
$this.reserve(): string
Returns
TypeValue
string
$this.toString(): string
Returns
TypeValue
string
$this.write(string $string): this
Parameters
NameTypeValueDefault
stringstring""
Returns
TypeValue
$this
$this.writeJSON(mixed $value): this
Parameters
NameTypeValueDefault
valuemixednull
Returns
TypeValue
$this