REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 655 B
Close
//opt/cpanel/ea-wappspector/vendor/rector/rector/src/FileSystem/JsonFileSystem.php
Text
Base64
<?php declare (strict_types=1); namespace Rector\FileSystem; use RectorPrefix202411\Nette\Utils\FileSystem; use RectorPrefix202411\Nette\Utils\Json; final class JsonFileSystem { /** * @return array<string, mixed> */ public static function readFilePath(string $filePath) : array { $fileContents = FileSystem::read($filePath); return Json::decode($fileContents, \true); } /** * @param array<string, mixed> $data */ public static function writeFile(string $filePath, array $data) : void { $json = Json::encode($data, \true); FileSystem::write($filePath, $json, null); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
FileAndDirectoryFilter.php
958 B
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FilePathHelper.php
3.51 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FilesFinder.php
6.10 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FilesystemTweaker.php
1.03 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
InitFilePathsResolver.php
1.56 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
JsonFileSystem.php
655 B
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).