Version 3.0
New technologies
This commit is contained in:
17
api/common/Concept/Filesystem.php
Normal file
17
api/common/Concept/Filesystem.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace Common\Concept;
|
||||
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user