🤩 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:ConfigFactory.php
<?php declare(strict_types=1); namespace TypistTech\Imposter; class ConfigFactory { public static function build(string $path, Filesystem $filesystem): Config { return new Config( $filesystem->dirname($path), json_decode( $filesystem->get($path), true ) ); } public static function buildProjectConfig(string $path, Filesystem $filesystem): ProjectConfig { return new ProjectConfig( $filesystem->dirname($path), json_decode( $filesystem->get($path), true ) ); } }
Save Changes
Cancel
Create New File
Create New Folder