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;
}