CommandSecondFace.php 254 B

1234567891011121314151617
  1. <?php
  2. namespace UCore\Command;
  3. /**
  4. * 按秒执行的命令接口
  5. */
  6. interface CommandSecondFace
  7. {
  8. /**
  9. * 每秒执行的具体逻辑
  10. *
  11. * @param int $s 当前秒数
  12. * @return void
  13. */
  14. public function handleSecond($s);
  15. }