Repository navigation
Internals 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.
use vfs\storage\StorageEntry;interface IStorageManagerSource 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.
No own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.
| 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 |
public function get(int $id): StorageEntry;| 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.
public function move(int $id, string $location): bool;| 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.
public function delete(int $id): bool;| 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.
public function rename(int $id, string $name): bool;| 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.
public function copy(int $id): StorageEntry;| 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.
public function registerLocal(StorageEntry $entry, string $ownerName): bool;| 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.
AWT Framework Wiki · Home · Installation Guide · Developer Guide · Framework Internals
Philosophy · Architecture · Known discrepancies · Verification
Installation Guide
Developer Guide
- Learning sequence
- First package
- Package structure
- Lifecycle
- Runtimes
- Events and objects
- Routing and controllers
- Views and resources
- Database and models
- Storage and caching
- Configuration and CLI
- Responses and errors
- Extension points
Framework Internals
- Architecture
- Bootstrap
- Packages
- Runtime
- Events and context
- Objects
- HTTP routing and controllers
- Rendering
- Blade integration
- Database
- Models
- Storage and caching
- Settings
- CLI
- Identity and sessions
- Responses
- Errors
- Complete source inventory
Documentation notes