public function get($key, $default = null, $dotify = false)
    {
        $items = $this->data;

        $keys = array_filter(explode('.', $key));

        $length = count($keys);

        for ($i = 0; $i < $length; $i++)
        {
            $index = $keys[(int) $i];

            $items = &$items[$index];
        }

        if ($items === null)
        {
            $items = $default;
        }

        if ($dotify)
        {
            return $this->dotify($items);
        }

        return $items;
    }