Documentation

Segment extends JsonSerializable

Table of Contents

criteria()  : array<string, mixed>
id()  : string
match()  : bool
toArray()  : array<string, string|array>
type()  : string

Methods

criteria()

public criteria() : array<string, mixed>
Return values
array<string, mixed>

id()

public id() : string
Return values
string

match()

public match(array<string, mixed> $payload) : bool
Parameters
$payload : array<string, mixed>
Return values
bool

toArray()

public toArray() : array<string, string|array>
Return values
array<string, string|array>

type()

public type() : string
Return values
string

Search results