初始化
This commit is contained in:
17
src/contract/ResetterInterface.php
Normal file
17
src/contract/ResetterInterface.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace think\worker\contract;
|
||||
|
||||
use think\App;
|
||||
use think\worker\Sandbox;
|
||||
|
||||
interface ResetterInterface
|
||||
{
|
||||
/**
|
||||
* "handle" function for resetting app.
|
||||
*
|
||||
* @param \think\App $app
|
||||
* @param Sandbox $sandbox
|
||||
*/
|
||||
public function handle(App $app, Sandbox $sandbox);
|
||||
}
|
||||
Reference in New Issue
Block a user