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

35 lines
694 B
PHP
Raw Normal View History

2020-07-23 13:26:16 +02:00
<?php
/**
* 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;
use danog\Loop\Interfaces\LoopInterface;
/**
* Basic loop test interface.
*
* @author Daniil Gentili <daniil@daniil.it>
*/
interface LoggingPauseInterface extends LoopInterface, LoggingInterface
{
/**
* Get number of times loop was paused.
*
* @return integer
*/
public function getPauseCount(): int;
/**
* Get last pause.
*
* @return integer
*/
public function getLastPause(): int;
}