Tsugi

Decision
in package

Result of matching one incoming cartridge resource to cc_object rows.

Table of Contents

Properties

$action  : string
$content_hash  : string
$identifiers  : array<string, mixed>
$item_identifier  : string
$object  : array<string, mixed>|null
$resource_identifier  : string
$resource_type  : string
$title  : string

Methods

isCopy()  : mixed
isDuplicate()  : mixed
isNew()  : mixed

Properties

$action

public string $action

Matcher::NEW, DUPLICATE, or COPY

$content_hash

public string $content_hash = ''

$identifiers

public array<string, mixed> $identifiers = array()

Extra ids (Canvas migration_id, etc.)

$item_identifier

public string $item_identifier = ''

$object

public array<string, mixed>|null $object

Matching or ancestral cc_object row

$resource_identifier

public string $resource_identifier = ''

$resource_type

public string $resource_type = ''

Methods

isDuplicate()

public isDuplicate() : mixed

        
On this page

Search results