Jamm\Memory\Tests\CommandsListCheck::downloadJSON PHP Метод

downloadJSON() защищенный Метод

protected downloadJSON ( )
    protected function downloadJSON()
    {
        $json = file_get_contents('https://raw.github.com/antirez/redis-doc/master/commands.json');
        if (empty($json)) {
            throw new \Exception('Can not fetch json doc');
        }
        return $json;
    }