Skip to content

Internals Vfs Transient Interfaces ITransientStorageEntry

Stefan Crkvenjakov edited this page Oct 7, 2026 · 1 revision

vfs\transient\interfaces\ITransientStorageEntry

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/vfs/transient/interfaces/ITransientStorageEntry.php · Snapshot 8411f4287706.

VFS includes package resource lookup, database-backed file metadata, filesystem collaborators, transient pools and persistent PHP-array caches.

Imports and dependencies

use vfs\transient\enums\ETransientType;

ITransientStorageEntry

Declaration and architectural role

interface ITransientStorageEntry

Constants, enum cases, traits and properties

No own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.

Method index

Method Signature
refresh public function refresh(): self
loadContent public function loadContent(): self
write public function write(string|array $content): self
delete public function delete(): bool
getName public function getName(): string
getPath public function getPath(): string
getLastModified public function getLastModified(): int
__toString public function __toString(): string

refresh

Source line 9

public function refresh(): self;

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

loadContent

Source line 11

public function loadContent(): self;

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

write

Source line 13

public function write(string|array $content): self;

Parameters

Parameter Type, modifiers and default Purpose
$content string|array $content Operation input; the exact use, validation and propagation are shown in the implementation trace.

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

delete

Source line 15

public function delete(): bool;

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

getName

Source line 17

public function getName(): string;

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

getPath

Source line 19

public function getPath(): string;

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

getLastModified

Source line 21

public function getLastModified(): int;

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

__toString

Source line 23

public function __toString(): string;

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

Related types

Clone this wiki locally