src/Rocketeer/Services/History/History.php
protected function getFlattened($type)
    {
        $history = [];
        foreach ($this->items as $class => $entries) {
            $history = array_merge($history, $entries[$type]);
        }

        ksort($history);

        return array_values($history);
    }
protected function getFlattened($type)
    {
        $history = [];
        foreach ($this->items as $class => $entries) {
            $history = array_merge($history, $entries[$type]);
        }

        ksort($history);

        return array_values($history);
    }
protected function getFlattened ( $ type ) { $ history = [ ] ; foreach ( $ this -> items as $ class => $ entries ) { $ history = array_merge ( $ history , $ entries [ $ type ] ) ; } ksort ( $ history ) ; return array_values ( $ history ) ; }
Get a flattened list of a certain type.

@param string $type

@return string[]|string[][]
Get a flattened list of a certain type .