public function get($pointer, $array)
    {
        $pointerArray = $this->parser->parse($pointer);

        $current = $array;
        foreach ($pointerArray as $key) {
            if (!is_array($current) || !array_key_exists($key, $current)) {
                throw new Exception\NoneExistentValue('references none existent value.');
            }

            $current = $current[$key];
        }

        return $current;
    }