Interaction
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. | |
Interaction | etc()
Disables the interaction check. | |
mixed | prop(string $key = null)
Retrieve a prop within the current scope using "dot" notation. |
Details
protected void interactsWith(string $key)
Marks the property as interacted.
void interacted()
Asserts that all properties have been interacted with.
Interaction etc()
Disables the interaction check.
abstract protected mixed prop(string $key = null)
Retrieve a prop within the current scope using "dot" notation.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/9.x/Illuminate/Testing/Fluent/Concerns/Interaction.html