* @copyright 2016-2020 Daniil Gentili * @license https://opensource.org/licenses/MIT MIT */ namespace danog\Loop\Test\Interfaces; use danog\Loop\LoopInterface; /** * Basic loop test interface. * * @author Daniil Gentili */ interface BasicInterface extends LoopInterface { /** * Check whether the loop inited. * * @return boolean */ public function inited(): bool; /** * Check whether the loop ran. * * @return boolean */ public function ran(): bool; /** * Get start counter. * * @return integer */ public function startCounter(): int; /** * Get end counter. * * @return integer */ public function endCounter(): int; }