public function getHistory($type = null)
    {
        $handle = $this->getHistoryHandle();
        $history = $this->history[$handle];
        $history = Arr::get($history, $type);

        return $history;
    }