GraphAware\Neo4j\OGM\Persister\FlushOperationProcessor::processNodesCreationJob PHP Метод

processNodesCreationJob() публичный Метод

public processNodesCreationJob ( array $nodesScheduledForCreate )
$nodesScheduledForCreate array
    public function processNodesCreationJob(array $nodesScheduledForCreate)
    {
        $byLabelsMap = [];
        foreach ($nodesScheduledForCreate as $node) {
            $metadata = $this->em->getClassMetadataFor(get_class($node));
            $byLabelsMap[$metadata->getLabel()][] = $node;
        }
        return $this->createLabeledNodesCreationStack($byLabelsMap);
    }