public function read($name, $default = null)
    {
        $path = explode('.', $name);
        $key = array_shift($path);

        if ($this->checkCache($key)) {
            return $path ? $this->cache[$key]->get($path, $default) : $this->cache[$key]->toArray();
        }

        return $default;
    }