src/Debug/Debug.php
public function getData($path = null)
    {
        $data = $this->utilities->arrayPathGet($this->data, $path);
        /*
            some array nodes may be references
            this is only a concern when calling getData externally
            serialize/unserialize is expensive.. only do so when requesting the below
        */
        return \in_array($path, array('logSummary','groupStacks'))
            ? \unserialize(\serialize($data))
            : $data;
    }
public function getData($path = null)
    {
        $data = $this->utilities->arrayPathGet($this->data, $path);
        /*
            some array nodes may be references
            this is only a concern when calling getData externally
            serialize/unserialize is expensive.. only do so when requesting the below
        */
        return \in_array($path, array('logSummary','groupStacks'))
            ? \unserialize(\serialize($data))
            : $data;
    }
Advanced usage

@param string $path path

@return mixed