Skip to main content

Zymba Documentation

ZeyOS.TempFile​

Text
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​

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