2022-08-05 21:28:59 -04:00
|
|
|
<?php
|
2022-08-08 22:36:04 -04:00
|
|
|
namespace ProVM\Concept;
|
2022-08-05 21:28:59 -04:00
|
|
|
|
|
|
|
interface Filesystem
|
|
|
|
{
|
|
|
|
public function setBasePath(string $path): Filesystem;
|
|
|
|
public function getBasePath(): string;
|
|
|
|
|
|
|
|
public function buildPath(string $relative_path): string;
|
|
|
|
|
|
|
|
public function has(string $relative_path): bool;
|
|
|
|
|
|
|
|
public function mkdir(string $relative_path): void;
|
|
|
|
public function create(string $relative_path): void;
|
|
|
|
public function get(string $relative_path): File;
|
|
|
|
public function delete(string $relative_path): void;
|
|
|
|
}
|