Repository navigation
Internals Vfs Storage Interfaces IFileSystemService
Framework Internals · Subsystem overview · Developer guide
Source: awt_src/classes/vfs/storage/interfaces/IFileSystemService.php · Snapshot 8411f4287706.
VFS includes package resource lookup, database-backed file metadata, filesystem collaborators, transient pools and persistent PHP-array caches.
interface IFileSystemServiceSource description (behavioral corrections are recorded in Known discrepancies):
Interface IFileSystemService
Abstracts all file system I/O operations (SRP + DIP). StorageManager depends on this contract, not a concrete implementation.
No own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.
| Method | Signature |
|---|---|
| move | public function move(string $sourcePath, string $destinationPath): bool |
| copy | public function copy(string $sourcePath, string $destinationPath): bool |
| delete | public function delete(string $path): bool |
| rename | public function rename(string $sourcePath, string $destinationPath): bool |
| fileSize | public function fileSize(string $path): int |
| lastModified | public function lastModified(string $path): int |
| exists | public function exists(string $path): bool |
| makeDirectory | public function makeDirectory(string $path, int $permissions = 0755, bool $recursive = true): bool |
public function move(string $sourcePath, string $destinationPath): bool;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$sourcePath |
string $sourcePath |
Operation input; the exact use, validation and propagation are shown in the implementation trace. |
$destinationPath |
string $destinationPath |
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 copy(string $sourcePath, string $destinationPath): bool;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$sourcePath |
string $sourcePath |
Operation input; the exact use, validation and propagation are shown in the implementation trace. |
$destinationPath |
string $destinationPath |
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(string $path): bool;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$path |
string $path |
Filesystem or route path as defined by the owning component; no universal path normalization is implied. |
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(string $sourcePath, string $destinationPath): bool;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$sourcePath |
string $sourcePath |
Operation input; the exact use, validation and propagation are shown in the implementation trace. |
$destinationPath |
string $destinationPath |
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 fileSize(string $path): int;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$path |
string $path |
Filesystem or route path as defined by the owning component; no universal path normalization is implied. |
Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function lastModified(string $path): int;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$path |
string $path |
Filesystem or route path as defined by the owning component; no universal path normalization is implied. |
Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function exists(string $path): bool;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$path |
string $path |
Filesystem or route path as defined by the owning component; no universal path normalization is implied. |
Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.
public function makeDirectory(string $path, int $permissions = 0755, bool $recursive = true): bool;| Parameter | Type, modifiers and default | Purpose |
|---|---|---|
$path |
string $path |
Filesystem or route path as defined by the owning component; no universal path normalization is implied. |
$permissions |
int $permissions = 0755 |
Operation input; the exact use, validation and propagation are shown in the implementation trace. |
$recursive |
bool $recursive = true |
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