trait Interaction

Properties

protected array $interacted

The list of interacted properties.

Methods

void
interactsWith(string|int $key)

Mark the property as interacted.

void
interacted()

Assert that all properties have been interacted with.

etc()

Disable the interaction check.

mixed
prop(string|null $key = null)

Retrieve a prop within the current scope using "dot" notation.

Details

at line 20
protected void interactsWith(string|int $key)

Mark the property as interacted.

Parameters

string|int $key

Return Value

void

at line 32
void interacted()

Assert that all properties have been interacted with.

Return Value

void

at line 46
Interaction etc()

Disable the interaction check.

Return Value

Interaction

at line 56
abstract protected mixed prop(string|null $key = null)

Retrieve a prop within the current scope using "dot" notation.

Parameters

string|null $key

Return Value

mixed