1
0
mirror of https://github.com/danog/loop.git synced 2024-12-04 10:18:02 +01:00
loop/test/Interfaces/LoggingPauseInterface.php

29 lines
604 B
PHP
Raw Normal View History

2022-12-24 14:36:39 +01:00
<?php declare(strict_types=1);
2020-07-23 13:26:16 +02:00
/**
* Basic loop test interface.
*
* @author Daniil Gentili <daniil@daniil.it>
* @copyright 2016-2020 Daniil Gentili <daniil@daniil.it>
* @license https://opensource.org/licenses/MIT MIT
*/
namespace danog\Loop\Test\Interfaces;
/**
* Basic loop test interface.
*
* @author Daniil Gentili <daniil@daniil.it>
*/
2023-01-23 00:24:18 +01:00
interface LoggingPauseInterface extends LoggingInterface
2020-07-23 13:26:16 +02:00
{
/**
* Get number of times loop was paused.
*/
public function getPauseCount(): int;
/**
* Get last pause.
*/
2023-01-23 00:24:18 +01:00
public function getLastPause(): float;
2020-07-23 13:26:16 +02:00
}