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

29 lines
544 B
PHP
Raw Normal View History

2020-07-23 13:26:16 +02:00
<?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;
/**
* Resumable loop test interface.
*
* @author Daniil Gentili <daniil@daniil.it>
*/
interface IntervalInterface
{
/**
* Set sleep interval.
*
* @param ?int $interval Interval
*
* @return void
*/
public function setInterval(?int $interval): void;
}