Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ public function guzzleMiddleware(): callable
return new GuzzleMiddleware($this);
}

/**
* @api
*/
public function digest(): void
{
$this->finishExecution();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exposing the finishExecution method doesn't make sense from a naming perspective. This isn't going to be used at the end of an execution, but mid-way through.

Nightwatch::digest() is much nicer.

}

/**
* @internal
*
Expand Down