trait Interaction (View source)

Properties

protected array $interacted

The list of interacted properties.

Methods

void
interactsWith(string $key)

Marks the property as interacted.

void
interacted()

Asserts that all properties have been interacted with.

etc()

Disables the interaction check.

mixed
prop(string|null $key = null)

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

Details

protected void interactsWith(string $key)

Marks the property as interacted.

Parameters

string $key

Return Value

void

void interacted()

Asserts that all properties have been interacted with.

Return Value

void

Interaction etc()

Disables the interaction check.

Return Value

Interaction

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

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.