Documentation

Merger
in package

Description of Merger

Tags
author

zozlak

Table of Contents

Properties

$log  : LoggerInterface|null
$repo  : Repo
$schema  : Schema

Methods

__construct()  : mixed
merge()  : void
Merges subjects sharing same identifers using only the local data
update()  : void
Performs an update against the repository
mergeInto()  : void

Properties

$log

private LoggerInterface|null $log

Methods

__construct()

public __construct(Repo|Schema|null $repoOrSchema[, LoggerInterface|null $log = null ]) : mixed
Parameters
$repoOrSchema : Repo|Schema|null
$log : LoggerInterface|null = null

merge()

Merges subjects sharing same identifers using only the local data

public merge(DatasetInterface $data) : void
Parameters
$data : DatasetInterface

update()

Performs an update against the repository

public update(DatasetInterface $data[, bool $test = true ][, resource|null $output = null ]) : void
Parameters
$data : DatasetInterface
$test : bool = true
$output : resource|null = null

mergeInto()

private mergeInto(DatasetInterface $into, DatasetInterface $from) : void
Parameters
$into : DatasetInterface
$from : DatasetInterface

        
On this page

Search results