src/Model.php
private function resolveHashes(array $hashes)
    {
        $assoc = [];
        foreach ($hashes as $k => $hash) {
            $item = $this->resolveHash($hash);
            if ($item) {
                $assoc[$k] = $item;
            }
        }

        return $assoc;
    }
private function resolveHashes(array $hashes)
    {
        $assoc = [];
        foreach ($hashes as $k => $hash) {
            $item = $this->resolveHash($hash);
            if ($item) {
                $assoc[$k] = $item;
            }
        }

        return $assoc;
    }
private function resolveHashes ( array $ hashes ) { $ assoc = [ ] ; foreach ( $ hashes as $ k => $ hash ) { $ item = $ this -> resolveHash ( $ hash ) ; if ( $ item ) { $ assoc [ $ k ] = $ item ; } } return $ assoc ; }
raw hash data to associate array
@param array $hashes
@return array
raw hash data to associate array