🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:FilesystemInterface.php
<?php declare(strict_types=1); namespace TypistTech\Imposter; interface FilesystemInterface { /** * @param string $path * * @return \SplFileInfo[] */ public function allFiles(string $path): array; /** * Extract the parent directory from a file path. * * @param string $path * * @return string */ public function dirname(string $path): string; /** * Get the contents of a file. * * @param string $path * * @return string */ public function get(string $path): string; /** * Determine if the given path is a file. * * @param string $path * * @return bool */ public function isFile(string $path): bool; /** * Determine if the given path is a directory. * * @param string $path * * @return bool */ public function isDir(string $path); /** * Write the contents of a file. * * @param string $path * @param string $contents * * @return mixed */ public function put(string $path, string $contents); }
Save Changes
Cancel
Create New File
Create New Folder