trait Illuminate / Testing / Fluent / Concerns / Interaction
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

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