mirror of
https://github.com/danog/loop.git
synced 2024-12-13 09:47:25 +01:00
31 lines
614 B
PHP
31 lines
614 B
PHP
<?php
|
|
|
|
/**
|
|
* Resumable 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\ResumableLoopInterface;
|
|
|
|
/**
|
|
* Resumable loop test interface.
|
|
*
|
|
* @author Daniil Gentili <daniil@daniil.it>
|
|
*/
|
|
interface ResumableInterface extends BasicInterface
|
|
{
|
|
/**
|
|
* Set sleep interval.
|
|
*
|
|
* @param ?int $interval Interval
|
|
*
|
|
* @return void
|
|
*/
|
|
public function setInterval($interval): void;
|
|
}
|