Eloquent\Phony\Call\Call::hasCompleted PHP Method

hasCompleted() public method

When generator spies are in use, a call that returns a generator will not be considered complete until the generator has been completely consumed via iteration. Similarly, when iterable spies are in use, a call that returns an iterable will not be considered complete until the iterable has been completely consumed via iteration.
public hasCompleted ( ) : boolean
return boolean True if this call has completed.
    public function hasCompleted();