Files
kiri-core/HttpServer/IInterface/Task.php
T

29 lines
285 B
PHP
Raw Normal View History

2020-08-31 01:27:08 +08:00
<?php
namespace HttpServer\IInterface;
2020-09-08 15:41:57 +08:00
2020-08-31 01:27:08 +08:00
interface Task
{
2020-09-08 15:41:57 +08:00
/**
* @return array
*/
2020-08-31 01:27:08 +08:00
public function getParams();
2020-09-08 15:41:57 +08:00
/**
* @param array $params
* @return $this
*/
2020-09-08 15:30:21 +08:00
public function setParams(array $params);
2020-09-08 15:41:57 +08:00
/**
* @return mixed|void
*/
public function onHandler();
2020-08-31 01:27:08 +08:00
}