SlotFlow API Documentation

MovementEdge
in package

FinalYes

One directed movement edge between two slots.

Table of Contents

Properties

$attributes  : array<string|int, mixed>
$from  : Slot
$label  : string|null
$to  : Slot

Methods

__construct()  : mixed
Create a directed edge between two slots.
__toString()  : string
meta()  : self
Create a copy of the edge with merged metadata.

Properties

$attributes read-only

public array<string|int, mixed> $attributes = []

Methods

__construct()

Create a directed edge between two slots.

public __construct(Slot $from, Slot $to[, string|null $label = null ][, array<string|int, mixed> $attributes = [] ]) : mixed
Parameters
$from : Slot
$to : Slot
$label : string|null = null
$attributes : array<string|int, mixed> = []

__toString()

public __toString() : string
Return values
string

meta()

Create a copy of the edge with merged metadata.

public meta(array<string|int, mixed> $attributes) : self
Parameters
$attributes : array<string|int, mixed>
Return values
self

        
On this page

Search results