Skip to content

Internals Vfs Storage Interfaces IStorageManager

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

vfs\storage\interfaces\IStorageManager

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/vfs/storage/interfaces/IStorageManager.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\storage\StorageEntry;

IStorageManager

Declaration and architectural role

interface IStorageManager

Source description (behavioral corrections are recorded in Known discrepancies):

Interface IStorageManager

Defines the public API for storage orchestration (ISP). Clients depend only on the methods they actually use.

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
get public function get(int $id): StorageEntry
move public function move(int $id, string $location): bool
delete public function delete(int $id): bool
rename public function rename(int $id, string $name): bool
copy public function copy(int $id): StorageEntry
registerLocal public function registerLocal(StorageEntry $entry, string $ownerName): bool

get

Source line 15

public function get(int $id): StorageEntry;

Parameters

Parameter Type, modifiers and default Purpose
$id int $id Record or runtime identifier selected by this operation.

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

move

Source line 17

public function move(int $id, string $location): bool;

Parameters

Parameter Type, modifiers and default Purpose
$id int $id Record or runtime identifier selected by this operation.
$location string $location 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 19

public function delete(int $id): bool;

Parameters

Parameter Type, modifiers and default Purpose
$id int $id Record or runtime identifier selected by this operation.

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

rename

Source line 21

public function rename(int $id, string $name): bool;

Parameters

Parameter Type, modifiers and default Purpose
$id int $id Record or runtime identifier selected by this operation.
$name string $name Named key/label selected by this API; its exact scope is shown by 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.

copy

Source line 23

public function copy(int $id): StorageEntry;

Parameters

Parameter Type, modifiers and default Purpose
$id int $id Record or runtime identifier selected by this operation.

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

registerLocal

Source line 25

public function registerLocal(StorageEntry $entry, string $ownerName): bool;

Parameters

Parameter Type, modifiers and default Purpose
$entry StorageEntry $entry Operation input; the exact use, validation and propagation are shown in the implementation trace.
$ownerName string $ownerName 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.

Related types

Clone this wiki locally