trait Illuminate / Testing / Fluent / Concerns / Interaction
You are viewing an older version of the documentation. For the latest, please visit master documentation.

Interaction

Properties

protected

$interacted array

The list of interacted properties.

Default: []

Methods

protected

interactsWith ( string $key ) : void

Marks the property as interacted.

Parameters

  • $key string
public

interacted ( ) : void

Asserts that all properties have been interacted with.

public

etc ( ) : $this

Disables the interaction check.

protected abstract

prop ( string $key ) : mixed

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

Parameters

  • $key string|null