ManaPHP\Configure\Engine\Json::load PHP Метод

load() публичный Метод

public load ( string $file ) : mixed
$file string
Результат mixed
    public function load($file)
    {
        $data = file_get_contents($file, true);
        if ($data === false) {
            throw new JsonException('`:file` configure file can not be loaded', ['file' => $file]);
        } else {
            return json_decode($data, true);
        }
    }
Json