/usr/share/php/Aws/JsonCompiler.php is in php-aws-sdk 3.15.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <?php
namespace Aws;
/**
* Loads JSON files and compiles them into PHP arrays.
*
* @internal Please use json_decode instead.
* @deprecated
*/
class JsonCompiler
{
const CACHE_ENV = 'AWS_PHP_CACHE_DIR';
/**
* Loads a JSON file from cache or from the JSON file directly.
*
* @param string $path Path to the JSON file to load.
*
* @return mixed
*/
public function load($path)
{
return load_compiled_json($path);
}
}
|