Airship\Engine\Keyggdrasil::updatesToNodes PHP Method

updatesToNodes() protected method

Get a bunch of nodes for inclusion in the Merkle tree.
protected updatesToNodes ( array $updates ) : array
$updates array
return array
    protected function updatesToNodes(array $updates) : array
    {
        $return = [];
        foreach ($updates as $up) {
            $return[] = new Node($up->getNodeJSON());
        }
        return $return;
    }