blob: 5358b315a4a7bbc8e2e973dd0f17d94f2ddc9528 (
plain)
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);
}
}
|