Sanpi\Behatch\Context\DebugContext::iPutABreakpoint PHP Метод

iPutABreakpoint() публичный Метод

Pauses the scenario until the user presses a key. Useful when debugging a scenario.
public iPutABreakpoint ( )
    public function iPutABreakpoint()
    {
        fwrite(STDOUT, "    [Breakpoint] Press [RETURN] to continue...");
        while (fgets(STDIN, 1024) == '') {
        }
        fwrite(STDOUT, "");
        return;
    }